File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed
Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 1+ on : [pull_request]
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 dependencies
19+ - name : Depcheck
20+ uses : dependency-check/Dependency-Check_Action@3102a65fd5f36d0000297576acc56a475b0de98d
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+ args : >
30+ --exclude ${{github.workspace}}/build/mps/**
31+ - name : Upload Test results
32+ uses : actions/upload-artifact@v4
33+ with :
34+ name : Depcheck report
35+ path : ${{github.workspace}}/reports
You can’t perform that action at this time.
0 commit comments