diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5e98867..3281d53 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,18 +22,7 @@ jobs: with: distribution: temurin java-version: 17 - - - name: Cache sbt - uses: actions/cache@v3.0.4 - 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' diff --git a/helios/src/test/scala/helios/HeliosSpec.scala b/helios/src/test/scala/helios/HeliosSpec.scala index ecac8f4..c51fa00 100644 --- a/helios/src/test/scala/helios/HeliosSpec.scala +++ b/helios/src/test/scala/helios/HeliosSpec.scala @@ -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")