Bump advanced-security/maven-dependency-submission-action #172
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: Maven | |
on: | |
push: | |
pull_request: | |
jobs: | |
build: | |
name: verify | |
permissions: | |
contents: write # to submit the dependency graph | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check-out | |
uses: actions/checkout@v4 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '11' | |
distribution: 'temurin' | |
cache: maven | |
- name: Build & verify with Maven | |
run: mvn -B -ntp verify | |
- name: Submit Dependency Snapshot | |
uses: advanced-security/[email protected] #pinnned to v4.0.0 b/c of https://github.com/advanced-security/maven-dependency-submission-action/issues/65 |