diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8607ab35a..b659d2132 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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 diff --git a/.github/workflows/dependency-graph.yml b/.github/workflows/dependency-graph.yml new file mode 100644 index 000000000..230f09c17 --- /dev/null +++ b/.github/workflows/dependency-graph.yml @@ -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