Skip to content

Commit

Permalink
chore: use sbt/setup-sbt when using ubuntu-latest image
Browse files Browse the repository at this point in the history
  • Loading branch information
hamzaremmal committed Dec 17, 2024
1 parent 8cfa37a commit 4961d1e
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
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"

0 comments on commit 4961d1e

Please sign in to comment.