Skip to content

Merge pull request #157 from sfuhrm/dependabot/maven/org.apache.maven… #500

Merge pull request #157 from sfuhrm/dependabot/maven/org.apache.maven…

Merge pull request #157 from sfuhrm/dependabot/maven/org.apache.maven… #500

name: Dependency Check
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
schedule:
- cron: '45 13 * * 0'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: 21
- name: Cache Maven packages
uses: actions/cache@v3
with:
path: |
~/.m2/repository
key: dependencycheck
- name: Maven install
run: mvn install
- name: Run Maven dependency check
run: mvn org.owasp:dependency-check-maven:check
- uses: actions/upload-artifact@v3
if: always()
with:
name: dependency-check
path: ./target/dependency-check-report.html