Skip to content

Commit

Permalink
Merge pull request #1452 from Friendseeker/fix-ci-2
Browse files Browse the repository at this point in the history
[2.x] Fix CI `sbt: command not found`
  • Loading branch information
SethTisue authored Oct 10, 2024
2 parents 040309b + a37b424 commit c60b577
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,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 @@ -71,6 +73,9 @@ jobs:
with:
clean: false
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
17 changes: 17 additions & 0 deletions .github/workflows/dependency-graph.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# .github/workflows/dependency-graph.yml
name: Submit Dependency Graph
on:
push:
branches: [1.10.x, develop] # default branch of the project
permissions: {}
jobs:
submit-graph:
permissions:
contents: write # to submit the dependency graph

name: Submit Dependency Graph
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 c60b577

Please sign in to comment.