Skip to content

Bump actions/setup-java from 4.5.0 to 4.6.0 #54

Bump actions/setup-java from 4.5.0 to 4.6.0

Bump actions/setup-java from 4.5.0 to 4.6.0 #54

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@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4.6.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