Merge pull request #259 from ascopes/task/build-reproducibility #359
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: Security Analysis | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
submit-dependency-snapshot: | |
name: Submit Dependency Snapshot | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
- name: Initialize Java environment | |
uses: actions/setup-java@v4 | |
with: | |
distribution: zulu | |
java-version: 22 | |
- name: Submit Dependency Snapshot | |
# Pinned until https://github.com/advanced-security/maven-dependency-submission-action/issues/65 is addressed | |
uses: advanced-security/[email protected] | |
with: | |
maven-args: -B |