Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: use latest version of coursier/cache-action #293

Merged
merged 1 commit into from
Jul 15, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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/[email protected]

- 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: [email protected]

- 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/[email protected]

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