File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed
Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ on : [workflow_dispatch]
2+
3+ jobs :
4+ depchecktest :
5+ runs-on : ubuntu-latest
6+ name : depecheck_test
7+ steps :
8+ - name : Checkout
9+ uses : actions/checkout@v4
10+ - name : Setup Java
11+ uses : actions/setup-java@v4
12+ with :
13+ distribution : temurin
14+ java-version : 17
15+ - name : Setup Gradle
16+ uses : gradle/actions/setup-gradle@v4
17+ - name : Call setup
18+ run : ./gradlew setup
19+ - name : Depcheck
20+ uses : dependency-check/Dependency-Check_Action@main
21+ env :
22+ # actions/setup-java changes JAVA_HOME, so it needs to be reset to match the depcheck image
23+ JAVA_HOME : /opt/jdk
24+ id : Depcheck
25+ with :
26+ project : ' MPS-extensions'
27+ format : ' HTML'
28+ out : ' reports'
29+ - name : Upload Test results
30+ uses : actions/upload-artifact@master
31+ with :
32+ name : Depcheck report
33+ path : ${{github.workspace}}/reports
You can’t perform that action at this time.
0 commit comments