Skip to content

Commit

Permalink
Legacy way of Snyk installation
Browse files Browse the repository at this point in the history
  • Loading branch information
pvannierop committed Oct 9, 2024
1 parent aeec250 commit 31d07f6
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/snyk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,23 @@ jobs:
steps:
- uses: actions/checkout@v3

- uses: snyk/actions/setup@master
with:
snyk-version: v1.1032.0

- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 8

- name: Run Snyk to check for vulnerabilities
uses: snyk/actions/gradle@master
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
DEBUG: '*snyk*'
with:
args: --all-projects --configuration-matching='^runtimeClasspath$' --severity-threshold=high --policy-path=$PWD/.snyk
run: >
snyk test
--all-projects
--configuration-matching='^runtimeClasspath$'
--org=radar-base
--policy-path=$PWD/.snyk
--severity-threshold=high

0 comments on commit 31d07f6

Please sign in to comment.