Bump org.owasp:dependency-check-maven from 10.0.3 to 10.0.4 #1216
Workflow file for this run
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: Maven | |
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: '0 0 * * 0' | |
workflow_dispatch: | |
permissions: {} | |
env: | |
MAVEN_OPTS: > | |
-Dhttps.protocols=TLSv1.2 | |
-Dmaven.repo.local=.m2/repository | |
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=WARN | |
-Dorg.slf4j.simpleLogger.showDateTime=true | |
-Djava.awt.headless=true | |
MAVEN_CLI_OPTS: > | |
--batch-mode | |
--errors | |
--fail-at-end | |
--show-version | |
-DinstallAtEnd=true | |
-DdeployAtEnd=true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java: [11, 17, 21] | |
name: Java ${{ matrix.java }} | |
steps: | |
- name: Set REPOSITORY | |
run: echo "REPOSITORY=${GITHUB_REPOSITORY#*/}" >> "${GITHUB_ENV}" | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- name: Set up JDK ${{ matrix.java }} | |
uses: actions/setup-java@6a0805fcefea3d4657a47ac4c165951e33482018 # v4.2.2 | |
with: | |
distribution: temurin | |
java-version: ${{ matrix.java }} | |
- name: Build with Maven | |
run: | | |
# shellcheck disable=SC2086 | |
./mvnw ${MAVEN_CLI_OPTS} -DdependencyCheck.skip=true verify | |
- name: Upload artifacts | |
if: ${{ matrix.java == 11 }} | |
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0 | |
with: | |
name: ${{ env.REPOSITORY }} | |
path: target/ | |
- name: Clean up | |
run: rm "${HOME}/.m2/settings.xml" |