Merge pull request #805 from ascopes/task/java-25 #1014
This file contains hidden or 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: Security Analysis | |
| on: | |
| push: | |
| branches: [main, "v*"] | |
| jobs: | |
| submit-dependency-snapshot: | |
| name: Submit dependency snapshot | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 1 | |
| - name: Initialize Java | |
| uses: actions/setup-java@v5 | |
| with: | |
| cache: maven | |
| distribution: temurin | |
| java-version: zulu | |
| - name: Submit dependency snapshot | |
| uses: advanced-security/maven-dependency-submission-action@v5 | |
| with: | |
| maven-args: -B |