Skip to content

Merge pull request #2137 from matdue/switch-to-tomcat #47

Merge pull request #2137 from matdue/switch-to-tomcat

Merge pull request #2137 from matdue/switch-to-tomcat #47

name: "Dependency Submission API Upload"
on:
push:
branches: [ main ]
concurrency:
group: dependency-submission-${{ github.ref }}
cancel-in-progress: ${{ github.ref_name != 'main' }}
jobs:
depSubmissionAPIUpload:
name: Analyze
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
with:
egress-policy: audit
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0
- name: Set up JDK
uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0
with:
java-version: 21
distribution: 'temurin'
cache: 'maven'
- name: Build with Maven
run: ./mvnw -B -V -Dstyle.color=always clean verify
- name: Submit Dependency Snapshot
uses: advanced-security/maven-dependency-submission-action@4f64ddab9d742a4806eeb588d238e4c311a8397d # v4.1.1