forked from quarkusio/quarkus
-
Notifications
You must be signed in to change notification settings - Fork 1
40 lines (32 loc) · 879 Bytes
/
owasp-check.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: "OWASP Dependency Check"
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * 0,3'
jobs:
owasp:
name: OWASP Dependency Check Report
runs-on: ubuntu-latest
if: github.repository == 'quarkusio/quarkus'
strategy:
fail-fast: false
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 1
ref: main
- name: Setup Java JDK
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 11
- name: Build Java
run: ./mvnw -B --settings .github/mvn-settings.xml -Dquickly-ci install
- name: Perform OWASP Dependency Check Report
run: ./mvnw -Dowasp-report
- uses: actions/upload-artifact@v3
with:
name: dependency-check-report
path: target/dependency-check-report.html
retention-days: 5