Skip to content

Commit

Permalink
Modernize CI to setup-action and temurin
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonas Chapuis authored and jchapuis committed Aug 28, 2023
1 parent 4548af2 commit a8c5380
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: coursier/setup-action@v1
- uses: coursier/setup-action@v1.3.3
with:
jvm: adopt:11
jvm: temurin:17
apps: sbt
- run: sbt compile coverage test coverageReport coverageAggregate versionPolicyCheck documentation/makeSite
- uses: codecov/codecov-action@v2.1.0
14 changes: 8 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.4
- uses: olafurpg/setup-scala@v13
- uses: coursier/setup-action@v1.3.3
with:
java-version: adopt@1.11
jvm: temurin:17
apps: sbt
- name: Test and compute coverage
run: sbt coverage test coverageReport coverageAggregate
- name: Codecov
Expand All @@ -24,9 +25,9 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: coursier/setup-action@v1
- uses: coursier/setup-action@v1.3.3
with:
jvm: adopt:11
jvm: temurin:17
apps: sbt
- run: sbt versionCheck ci-release
env:
Expand All @@ -40,9 +41,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.4
- uses: olafurpg/setup-scala@v13
- uses: coursier/setup-action@v1.3.3
with:
java-version: adopt@1.11
jvm: temurin:17
apps: sbt
- name: Generate website
run: sbt documentation/makeSite
- uses: JamesIves/github-pages-deploy-action@4.1.5
Expand Down

0 comments on commit a8c5380

Please sign in to comment.