Skip to content

Commit

Permalink
Merge pull request #1449 from Friendseeker/fix-ci
Browse files Browse the repository at this point in the history
[1.x] Fix CI `sbt: command not found`
  • Loading branch information
eed3si9n authored Oct 10, 2024
2 parents 12042f6 + 452bc11 commit 44ae3fc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ jobs:
distribution: temurin
java-version: ${{ matrix.java }}
cache: sbt
- name: Setup SBT
uses: sbt/setup-sbt@v1
- name: Build and test (1)
if: ${{ matrix.jobtype == 1 }}
shell: bash
Expand Down Expand Up @@ -78,6 +80,9 @@ jobs:
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.base.ref }}
- name: Setup SBT
uses: sbt/setup-sbt@v1
if: ${{ github.event_name == 'pull_request' && (matrix.jobtype >= 4 && matrix.jobtype <= 6) }}
- name: Benchmark (Scalac) against Target Branch (4)
if: ${{ github.event_name == 'pull_request' && matrix.jobtype == 4 }}
shell: bash
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/dependency-graph.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: Submit Dependency Graph
on:
push:
branches: [1.10.x] # default branch of the project
branches: [1.10.x, develop] # default branch of the project
permissions: {}
jobs:
submit-graph:
Expand All @@ -13,4 +13,5 @@ jobs:
runs-on: ubuntu-latest # or windows-latest, or macOS-latest
steps:
- uses: actions/checkout@v4
- uses: sbt/setup-sbt@v1
- uses: scalacenter/sbt-dependency-submission@v3

0 comments on commit 44ae3fc

Please sign in to comment.