File tree Expand file tree Collapse file tree 1 file changed +26
-15
lines changed
Expand file tree Collapse file tree 1 file changed +26
-15
lines changed Original file line number Diff line number Diff line change @@ -55,18 +55,29 @@ jobs:
5555 uses : github/codeql-action/analyze@v3
5656
5757 dependency-check :
58-
59- runs-on : ubuntu-latest
60-
61- steps :
62- - uses : actions/checkout@v4
63-
64- - name : Set up JDK 17
65- uses : actions/setup-java@v4
66- with :
67- java-version : ' 17'
68- distribution : ' corretto'
69- cache : maven
70-
71- - name : dependencyCheck
72- run : mvn dependency-check:check
58+ runs-on : ubuntu-latest
59+ steps :
60+ - name : Checkout
61+ uses : actions/checkout@v4
62+ - name : Set up JDK 17
63+ uses : actions/setup-java@v4
64+ with :
65+ java-version : ' 17'
66+ distribution : ' corretto'
67+ cache : maven
68+ - name : Depcheck
69+ uses : dependency-check/Dependency-Check_Action@main
70+ id : Depcheck
71+ with :
72+ project : ' KeepTime'
73+ path : ' .'
74+ format : ' HTML'
75+ out : ' reports' # this is the default, no need to specify unless you wish to override it
76+ args : >
77+ --failOnCVSS 8.9
78+ --enableRetired
79+ - name : Upload Test results
80+ uses : actions/upload-artifact@master
81+ with :
82+ name : Depcheck report
83+ path : ${{github.workspace}}/reports
You can’t perform that action at this time.
0 commit comments