Skip to content

Commit 3725443

Browse files
author
Alexander Pann
authored
Merge pull request #1075 from JetBrains/feature/enable_vulnerability_scanning
2 parents 0a6277c + 2b274fb commit 3725443

File tree

1 file changed

+35
-0
lines changed

1 file changed

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

0 commit comments

Comments
 (0)