Skip to content

Commit

Permalink
build: use latest version of coursier/cache-action (#293)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrudolph authored Jul 15, 2021
1 parent 852a97b commit a289166
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,7 @@ jobs:
java-version: adopt@${{ matrix.jdk-version }}

- name: Cache Coursier cache
uses: coursier/cache-action@v5
with:
# add marker for the target scala-version, so that compiler bridge can be cached
extraKey: ${{ matrix.jdk-version }}-${{ matrix.scala-version }}
uses: coursier/cache-action@v6.2

- name: Compile and test for JDK ${{ matrix.jdk-version }}, Scala ${{ matrix.scala-version }}
run: sbt -J-XX:ReservedCodeCacheSize=256M ++${{ matrix.scala-version }} test
Expand All @@ -88,10 +85,7 @@ jobs:
java-version: adopt@1.8

- name: Cache Coursier cache
uses: coursier/cache-action@v5
with:
# add marker that this build uses cross building, so hopefully all compiler bridges will be cached
extraKey: cross
uses: coursier/cache-action@v6.2

- name: Publish
run: sbt ci-release
Expand Down

0 comments on commit a289166

Please sign in to comment.