Skip to content

Commit

Permalink
fix up workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
barryoneill committed Nov 15, 2024
1 parent 467dee1 commit ce3d472
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,25 +12,24 @@ jobs:
strategy:
matrix:
scala:
- 2.13.11
- 3.3.0
- 2.13.15
- 3.3.4
java:
- [email protected]
- [email protected]
os:
- ubuntu-22.04
runs-on: ${{ matrix.os }}
steps:
- name: Branch Checkout
uses: actions/checkout@v2.5.0
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Java And Sbt
uses: olafurpg/setup-scala@v13
uses: olafurpg/setup-scala@v14
with:
java-version: ${{ matrix.java }}
- name: Cache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
$HOME/.cache/coursier
Expand All @@ -42,7 +41,7 @@ jobs:
project/target
key: ${{ runner.os }}-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }}
- name: Test (${{ matrix.scala }}, ${{ matrix.java }})
run: sbt ++${{ matrix.scala }} fullTest
run: sbt ++${{ matrix.scala }} build
- name: Upload To Codecov
uses: codecov/codecov-action@v2

6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ on:
tags: ["*"]
jobs:
publish:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: olafurpg/setup-scala@v10
- uses: olafurpg/setup-scala@v14
- run: sbt ci-release
env:
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
Expand Down

0 comments on commit ce3d472

Please sign in to comment.