Skip to content

Commit

Permalink
use coursier/setup-action Github Actions (#1186)
Browse files Browse the repository at this point in the history
* use setup-java on Github Actions
* use sbt cache
* try coursier instead
  • Loading branch information
ivantopo authored Jun 27, 2022
1 parent c54de58 commit 8b83252
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@ jobs:
steps:
- uses: actions/checkout@v1
- run: git fetch --depth=1 origin '+refs/tags/*:refs/tags/*'
- uses: olafurpg/setup-scala@v10
- uses: coursier/cache-action@v6
- uses: coursier/setup-action@v1
with:
java-version: [email protected]
jvm: adopt:8
apps: sbt
- name: Test
run: sbt -v ";+core/test;+instrumentation/test;+reporters/test"
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@ jobs:
steps:
- uses: actions/checkout@v1
- run: git fetch --depth=1 origin '+refs/tags/*:refs/tags/*'
- uses: olafurpg/setup-scala@v10
- uses: coursier/cache-action@v6
- uses: coursier/setup-action@v1
with:
jvm: adopt:8
apps: sbt
- name: Release
run: sbt ";+instrumentation/publishLocal; release"
shell: bash
Expand Down

0 comments on commit 8b83252

Please sign in to comment.