-
Notifications
You must be signed in to change notification settings - Fork 0
82 lines (78 loc) · 2.44 KB
/
dependency-check.yaml
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
name: "dependency-check"
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * Mon'
jobs:
depcheck-dynamics:
runs-on: ubuntu-latest
name: depcheck_dynamics
steps:
- name: Checkout
uses: actions/checkout@master
- name: Build
run: dotnet build src/Spd.Presentation.Dynamics
- name: Depcheck
uses: dependency-check/Dependency-Check_Action@main
id: Depcheck
with:
project: 'dynamics'
path: 'src/Spd.Presentation.Dynamics'
format: 'HTML'
out: 'reports' # this is the default, no need to specify unless you wish to override it
args: >
--failOnCVSS 7
--enableRetired
- name: Upload Test results
uses: actions/upload-artifact@v4
with:
name: Depcheck report - dynamics
path: ${{github.workspace}}/reports
depcheck-screening:
runs-on: ubuntu-latest
name: depcheck_screening
steps:
- name: Checkout
uses: actions/checkout@master
- name: Build
run: dotnet build src/Spd.Presentation.Screening
- name: Depcheck
uses: dependency-check/Dependency-Check_Action@main
id: Depcheck
with:
project: 'screening'
path: 'src/Spd.Presentation.Screening'
format: 'HTML'
out: 'reports' # this is the default, no need to specify unless you wish to override it
args: >
--failOnCVSS 7
--enableRetired
- name: Upload Test results
uses: actions/upload-artifact@v4
with:
name: Depcheck report - screening
path: ${{github.workspace}}/reports
depcheck-licensing:
runs-on: ubuntu-latest
name: depcheck_licensing
steps:
- name: Checkout
uses: actions/checkout@master
- name: Build
run: dotnet build src/Spd.Presentation.Licensing
- name: Depcheck
uses: dependency-check/Dependency-Check_Action@main
id: Depcheck
with:
project: 'licensing'
path: 'src/Spd.Presentation.Licensing'
format: 'HTML'
out: 'reports' # this is the default, no need to specify unless you wish to override it
args: >
--failOnCVSS 7
--enableRetired
- name: Upload Test results
uses: actions/upload-artifact@v4
with:
name: Depcheck report - licensing
path: ${{github.workspace}}/reports