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

chore: use sbt/setup-sbt when using ubuntu-latest image #22227

Merged
merged 1 commit into from
Dec 17, 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
1 change: 1 addition & 0 deletions .github/workflows/build-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ jobs:
distribution: temurin
java-version: ${{ inputs.java-version }}
cache : sbt
- uses: sbt/setup-sbt@v1
- name: Build and pack the SDK (universal)
run : ./project/scripts/sbt dist/Universal/stage
- name: Build and pack the SDK (linux x86-64)
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/language-reference.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
distribution: 'temurin'
java-version: 17
cache: 'sbt'
- uses: sbt/setup-sbt@v1

- name: Generate reference documentation and test links
run: |
Expand Down
14 changes: 5 additions & 9 deletions .github/workflows/launchers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
java-version: '17'
distribution: 'temurin'
cache: 'sbt'
- uses: sbt/setup-sbt@v1
- name: Build and test launcher command
run: ./project/scripts/native-integration/bashTests
env:
Expand All @@ -37,9 +38,7 @@ jobs:
java-version: '17'
distribution: 'temurin'
cache: 'sbt'
# https://github.com/actions/runner-images/issues/9369
- name: Install sbt
run: brew install sbt
- uses: sbt/setup-sbt@v1
- name: Build and test launcher command
run: ./project/scripts/native-integration/bashTests
env:
Expand All @@ -58,9 +57,7 @@ jobs:
java-version: '17'
distribution: 'temurin'
cache: 'sbt'
# https://github.com/actions/runner-images/issues/9369
- name: Install sbt
run: brew install sbt
- uses: sbt/setup-sbt@v1
- name: Build and test launcher command
run: ./project/scripts/native-integration/bashTests
env:
Expand All @@ -79,9 +76,7 @@ jobs:
java-version: '17'
distribution: 'temurin'
cache: 'sbt'
# https://github.com/actions/runner-images/issues/9369
- name: Install sbt
run: brew install sbt
- uses: sbt/setup-sbt@v1
- name: Build and test launcher command
run: ./project/scripts/native-integration/bashTests
env:
Expand All @@ -100,6 +95,7 @@ jobs:
java-version: '17'
distribution: 'temurin'
cache: 'sbt'
- uses: sbt/setup-sbt@v1
- name: Build the launcher command
run: sbt "dist-win-x86_64/Universal/stage"
- name: Run the launcher command tests
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/scaladoc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
java-version: 17
cache: 'sbt'

- uses: sbt/setup-sbt@v1
- name: Compile and test scala3doc-js
run: ./project/scripts/sbt scaladoc-js-main/test

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test-cc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,6 @@ jobs:
steps:
- name: Git Checkout
uses: actions/checkout@v4
- uses: sbt/setup-sbt@v1
- name: Test with Scala 2 library with CC TASTy
run: ./project/scripts/sbt ";set ThisBuild/Build.scala2Library := Build.Scala2LibraryCCTasty ;scala3-bootstrapped/test"
Loading