Breakline at the end of the SARIF file. (#100) #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Dependencies" | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
dependency-submission: | |
name: "Submit Dependency Graph" | |
runs-on: ubuntu-latest | |
permissions: | |
# The Dependency Submission API requires write permission. | |
contents: write | |
steps: | |
- name: "Checkout sources" | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | |
- name: "Set up Java" | |
uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 # v4 | |
with: | |
distribution: 'temurin' | |
java-version-file: '.java-version' | |
- name: "Generate and submit dependency graph" | |
# Note: this `uses: gradle/actions/setup-gradle@v3` under the hood. | |
uses: gradle/actions/dependency-submission@417ae3ccd767c252f5661f1ace9f835f9654f2b5 # v3 |