Skip to content

Fix CI #183

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

Merged
merged 1 commit into from
May 16, 2024
Merged
Show file tree
Hide file tree
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
22 changes: 19 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,13 @@ jobs:
test-sbt:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
jvm: ['adopt:1.8', 'adopt:1.11', 'temurin:1.17']
include:
- os: ubuntu-latest
jvm: 'adoptium:1.8.0-412'
- os: window-latest
jvm: 'adoptium:1.11.0.23'
- os: macOS-latest
jvm: 'adoptium:1.17'
fail-fast: false
name: Test sbt plugin on ${{ matrix.os }} - ${{ matrix.jvm }}
runs-on: ${{ matrix.os }}
Expand All @@ -38,7 +43,7 @@ jobs:
GITHUB_TOKEN: ${{ github.token }}
steps:
- uses: actions/checkout@v3
- uses: coursier/setup-action@v1.2.0-M3
- uses: coursier/setup-action@v1.3.5
with:
jvm: ${{ matrix.jvm }}
apps: sbt
Expand All @@ -51,6 +56,13 @@ jobs:
if: github.event_name == 'push' || github.event.pull_request.head.repo.owner.login == 'scalacenter'
strategy:
matrix:
include:
- os: ubuntu-latest
jvm: 'adoptium:1.21'
- os: macOS-latest
jvm: 'adoptium:1.17'
- os: windows-latest
jvm: 'adoptium:1.8.0-412'
os: [ubuntu-latest, macOS-latest, windows-latest]
fail-fast: false
name: Test Github action on ${{ matrix.os }}
Expand All @@ -59,6 +71,10 @@ jobs:
contents: write
steps:
- uses: actions/checkout@v3
- uses: coursier/setup-action@v1.3.5
with:
jvm: ${{ matrix.jvm }}
apps: sbt
- run: sbt publishLocal
working-directory: sbt-plugin
- run: npm version
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: coursier/setup-action@v1.2.0-M3
- uses: coursier/setup-action@v1.3.5
with:
apps: sbt
jvm: 'adopt:1.8'
Expand Down
Loading