Skip to content

Commit 31d07f6

Browse files
committed
Legacy way of Snyk installation
1 parent aeec250 commit 31d07f6

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

.github/workflows/snyk.yaml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,23 @@ jobs:
88
steps:
99
- uses: actions/checkout@v3
1010

11+
- uses: snyk/actions/setup@master
12+
with:
13+
snyk-version: v1.1032.0
1114

1215
- uses: actions/setup-java@v3
1316
with:
1417
distribution: temurin
1518
java-version: 8
1619

1720
- name: Run Snyk to check for vulnerabilities
18-
uses: snyk/actions/gradle@master
1921
env:
2022
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
2123
DEBUG: '*snyk*'
22-
with:
23-
args: --all-projects --configuration-matching='^runtimeClasspath$' --severity-threshold=high --policy-path=$PWD/.snyk
24+
run: >
25+
snyk test
26+
--all-projects
27+
--configuration-matching='^runtimeClasspath$'
28+
--org=radar-base
29+
--policy-path=$PWD/.snyk
30+
--severity-threshold=high

0 commit comments

Comments
 (0)