Merge pull request #41 from sfuhrm/dependabot/maven/org.slf4j-slf4j-a… #149
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: 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 11 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'adopt' | |
java-version: 11 | |
- 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 |