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 77env :
88 SNYK_TOKEN : ${{ secrets.SNYK_TOKEN }}
99 SNYK_ORG : rstudio-connect
10- SNYK_PROJECT : rsconnect-python
1110
1211jobs :
13- python-dependencies :
12+ snyk-monitor :
1413 runs-on : ubuntu-latest
1514 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)
1820 uses : snyk/actions/python@master
1921 with :
2022 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)
2726 uses : snyk/actions/python@master
2827 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