-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
32 lines (29 loc) · 990 Bytes
/
dependency-graph.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: Dependency Graph
on:
push:
branches:
- main
concurrency:
# Only run once for latest commit per ref and cancel other (previous) runs.
group: dependency-graph-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: write # this permission is needed to submit the dependency graph
jobs:
dependency-graph:
name: Submit dependencies to GitHub
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ inputs.ref }}
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
- uses: scalacenter/sbt-dependency-submission@v2
with:
# We submit ./documentation/build.sbt because the documentation project depends on the root project(s)
# anyway. In the end, all projects will be checked (including the dependencies of the documentation project).
working-directory: './documentation/'