We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e29aa88 + a25017e commit 38f1904Copy full SHA for 38f1904
.github/workflows/snyk.yaml
@@ -0,0 +1,34 @@
1
+name: Snyk test
2
+
3
+on:
4
+ - pull_request
5
6
+jobs:
7
+ security:
8
+ runs-on: ubuntu-latest
9
10
+ steps:
11
+ - uses: actions/checkout@v3
12
+ - uses: snyk/actions/setup@master
13
+ with:
14
+ snyk-version: v1.1032.0
15
16
+ - uses: actions/setup-java@v3
17
18
+ distribution: temurin
19
+ java-version: 17
20
21
+ - name: Setup Gradle
22
+ uses: gradle/gradle-build-action@v2
23
24
+ - name: Run Snyk to check for vulnerabilities
25
+ env:
26
+ SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
27
+ run: >
28
+ snyk test
29
+ --all-projects
30
+ --configuration-matching="^runtimeClasspath$"
31
+ --fail-on=upgradable
32
+ --org=radar-base
33
+ --policy-path=.snyk
34
+ --severity-threshold=high
0 commit comments