Skip to content

Commit

Permalink
add coursier actions, since setup-java dropped sbt
Browse files Browse the repository at this point in the history
  • Loading branch information
SethTisue committed Oct 10, 2024
1 parent 5fbc094 commit a97e290
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 17 deletions.
32 changes: 18 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,23 @@
name: CI

name: test
on:
pull_request:
push:
branches: ['main']
tags: ['v[0-9]']

branches:
- main
pull_request:
jobs:
build:
test:
strategy:
fail-fast: false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '8'
cache: 'sbt'
- run: sbt +test scripted mimaReportBinaryIssues
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 8
- uses: coursier/setup-action@v1
- uses: coursier/cache-action@v6
- name: test
run: sbt +test scripted mimaReportBinaryIssues
9 changes: 6 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,14 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: coursier/cache-action@v6
- uses: coursier/setup-action@v1
with:
apps: sbt
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '8'
cache: 'sbt'
distribution: temurin
java-version: 8

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

0 comments on commit a97e290

Please sign in to comment.