Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Delegate dependency caching to actions/setup-java #47

Merged
merged 1 commit into from Jul 16, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
13 changes: 1 addition & 12 deletions .github/workflows/ci.yml
Expand Up @@ -22,18 +22,7 @@ jobs:
with:
distribution: temurin
java-version: 17

- name: Cache sbt
uses: actions/cache@v3.0.5
with:
path: |
~/.sbt
~/.ivy2/cache
~/.coursier/cache/v1
~/.cache/coursier/v1
~/AppData/Local/Coursier/Cache/v1
~/Library/Caches/Coursier/v1
key: ${{ runner.os }}-sbt-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }}
cache: sbt

- name: Check that scalafmt has been run
run: sbt 'all scalafmtSbtCheck scalafmtCheckAll'
Expand Down
2 changes: 1 addition & 1 deletion helios/src/test/scala/helios/HeliosSpec.scala
Expand Up @@ -6,7 +6,7 @@ import zio.test.*

object HeliosSpec extends ZIOSpecDefault:

def spec = suite("HeliosSpec")(
def spec: Spec[Any, Throwable] = suite("HeliosSpec")(
test("decideTargetBrightnessAndMirekValues chooses relax for midnight")(
for
_ <- TestSystem.putEnv("TIME_ZONE", "Europe/London")
Expand Down