Skip to content
This repository has been archived by the owner on Aug 14, 2024. It is now read-only.

Commit

Permalink
Delegate dependency caching to actions/setup-java
Browse files Browse the repository at this point in the history
  • Loading branch information
dhpiggott committed Jul 16, 2022
1 parent ef793cb commit a5d43b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion helios/src/test/scala/helios/HeliosSpec.scala
Original file line number Diff line number Diff line change
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

0 comments on commit a5d43b4

Please sign in to comment.