Skip to content

Commit 9892ed3

Browse files
author
Alexander Pann
committed
include a GitHub workflow for vulnerability scanning
1 parent 0a6277c commit 9892ed3

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
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 build_allScripts
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

0 commit comments

Comments
 (0)