File tree Expand file tree Collapse file tree 1 file changed +11
-12
lines changed Expand file tree Collapse file tree 1 file changed +11
-12
lines changed Original file line number Diff line number Diff line change 7
7
env :
8
8
SNYK_TOKEN : ${{ secrets.SNYK_TOKEN }}
9
9
SNYK_ORG : rstudio-connect
10
- SNYK_PROJECT : rsconnect-python
11
10
12
11
jobs :
13
- python-dependencies :
12
+ snyk-monitor :
14
13
runs-on : ubuntu-latest
15
14
steps :
16
- - uses : actions/checkout@master
17
- - name : Run Snyk on dependencies
15
+ - uses : actions/checkout@v3
16
+ with :
17
+ fetch-depth : 0
18
+
19
+ - name : Run Snyk (setup.py)
18
20
uses : snyk/actions/python@master
19
21
with :
20
22
command : monitor
21
- args : --file=setup.py --print-deps --project-name=${{ env.SNYK_PROJECT }} --org=${{ env.SNYK_ORG }}
22
- python-code :
23
- runs-on : ubuntu-latest
24
- steps :
25
- - uses : actions/checkout@master
26
- - name : Run Snyk static analysis
23
+ args : --file=setup.py --package-manager=pip --project-name=setup.py --org=${{ env.SNYK_ORG }}
24
+
25
+ - name : Run Snyk (requirements.txt)
27
26
uses : snyk/actions/python@master
28
27
with :
29
- command : code test
30
- args : --project-name=${{ env.SNYK_PROJECT }} --org=${{ env.SNYK_ORG }} rsconnect/
28
+ command : monitor
29
+ args : --file=requirements.txt --package-manager=pip -- project-name=requirements.txt --org=${{ env.SNYK_ORG }}
You can’t perform that action at this time.
0 commit comments