build(deps): bump org.owasp:dependency-check-maven from 10.0.3 to 10.0.4 #1502
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: 'Windows' | |
env: | |
MAVEN_OPTS: -Djava.awt.headless=true -Dmaven.wagon.httpconnectionManager.ttlSeconds=25 -Dmaven.wagon.http.retryHandler.count=3 | |
on: | |
- pull_request | |
concurrency: # cancel on PR pushes | |
# More info: https://stackoverflow.com/a/68422069/253468 | |
group: ${{ github.workflow }}-${{ ( github.ref == 'refs/heads/master' || github.ref == 'refs/heads/release' ) && format('ci-master-{0}', github.sha) || format('ci-master-{0}', github.ref) }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
name: Windows ${{ matrix.windows }} | |
runs-on: ${{ matrix.windows }} | |
strategy: | |
matrix: | |
java: [ 17 ] | |
windows: [ windows-2022 ] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
lfs: true | |
- name: 'Set up JDK' | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: ${{ matrix.java }} | |
cache: 'maven' | |
- name: 'Set up Maven' | |
uses: stCarolas/setup-maven@v5 | |
with: | |
maven-version: '3.9.8' | |
- name: 'Priming build' | |
run: | | |
mvn --% clean install -Dmaven.test.skip=true -Dtest.onlyITs= -B -V -fae -DskipQA=true | |
- name: 'Test' | |
run: | | |
mvn --% -e test -B -pl "!brmo-dist" -Dtest.onlyITs=false -DskipQA=true | |
mvn --% resources:testResources compiler:testCompile surefire:test -pl datamodel -Dtest="!*UpgradeTest" -DskipQA=true | |
- name: 'Verify' | |
# no database integration tests; GH does not support linux containers on windows and | |
# no suitable windows database images are available | |
run: mvn --% -e verify -B -T1 -Dtest.onlyITs=true -pl "!brmo-dist" -DskipQA=true | |
- name: 'Upload coverage to Codecov' | |
uses: codecov/codecov-action@v4 | |
with: | |
fail_ci_if_error: true | |
token: ${{ secrets.CODECOV_TOKEN }} | |
- name: 'Cleanup build artifacts en snapshots' | |
run: | | |
mvn --% clean build-helper:remove-project-artifact | |
# cmd --% /c for /f %i in ('dir /a:d /s /b %userprofile%\*SNAPSHOT*') do rd /s /q %i |