Skip to content
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

Add sbt to github action workflows, use ubuntu-latest #1416

Merged
merged 2 commits into from
Dec 12, 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
2 changes: 1 addition & 1 deletion .github/workflows/auto-approve.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:

jobs:
auto-approve:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- uses: hmarr/[email protected]
if: github.actor == 'scala-steward'
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/benchs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ jobs:
distribution: temurin
java-version: 21
check-latest: true
- name: Setup sbt
uses: sbt/setup-sbt@v1
- uses: VirtusLab/scala-cli-setup@main
- name: Use CI sbt jvmopts
shell: bash
Expand Down
16 changes: 14 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ jobs:
distribution: corretto
java-version: '17'
check-latest: true
- name: Setup sbt
uses: sbt/setup-sbt@v1
- name: Cache Dependencies
uses: coursier/cache-action@v6
- name: Check all code compiles
Expand All @@ -62,10 +64,12 @@ jobs:
distribution: corretto
java-version: '17'
check-latest: true
- name: Setup sbt
uses: sbt/setup-sbt@v1
- name: Cache Dependencies
uses: coursier/cache-action@v6
- name: Check if the site workflow is up to date
run: sbt ciCheckGithubWorkflow
# - name: Check if the site workflow is up to date
# run: sbt ciCheckGithubWorkflow
- name: Lint
run: sbt lint
test:
Expand All @@ -88,6 +92,8 @@ jobs:
distribution: corretto
java-version: ${{ matrix.java }}
check-latest: true
- name: Setup sbt
uses: sbt/setup-sbt@v1
- name: Cache Dependencies
uses: coursier/cache-action@v6
- name: Git Checkout
Expand All @@ -114,6 +120,8 @@ jobs:
distribution: corretto
java-version: '17'
check-latest: true
- name: Setup sbt
uses: sbt/setup-sbt@v1
- name: Cache Dependencies
uses: coursier/cache-action@v6
- name: Generate Readme
Expand Down Expand Up @@ -188,6 +196,8 @@ jobs:
distribution: corretto
java-version: '17'
check-latest: true
- name: Setup sbt
uses: sbt/setup-sbt@v1
- name: Cache Dependencies
uses: coursier/cache-action@v6
- name: Release
Expand Down Expand Up @@ -217,6 +227,8 @@ jobs:
distribution: corretto
java-version: '17'
check-latest: true
- name: Setup sbt
uses: sbt/setup-sbt@v1
- name: Cache Dependencies
uses: coursier/cache-action@v6
- name: Setup NodeJs
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/profile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
distribution: temurin
java-version: 21
check-latest: true
- name: Setup sbt
uses: sbt/setup-sbt@v1
- uses: coursier/cache-action@v6
- uses: VirtusLab/scala-cli-setup@main
- name: Use CI sbt jvmopts
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
update_release_draft:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- uses: release-drafter/release-drafter@v6
env:
Expand Down
Loading