File tree Expand file tree Collapse file tree 1 file changed +0
-43
lines changed
Expand file tree Collapse file tree 1 file changed +0
-43
lines changed Original file line number Diff line number Diff line change 1919 - name : Run tests
2020 run : pytest tests/
2121
22- stupid_snyk :
23- runs-on : ubuntu-latest
24- steps :
25- - uses : actions/checkout@main
26-
27- - name : Install dependencies
28- run : |
29- pip install -r requirements.txt
30- python -m pip install --upgrade pip
31-
32- - name : Run Snyk to check for vulnerabilities
33- uses : snyk/actions/python@master
34- with :
35- args : --file=requirements.txt
36- env :
37- SNYK_TOKEN : ${{ secrets.SNYK_TOKEN }}
38-
39- # Run snyk code scanning for vulnerabilities
40- # snyk_scan:
41- # permissions:
42- # contents: read
43- # security-events: write
44- # actions: read
45- # runs-on: ubuntu-latest
46- # steps:
47- # - name: Checkout code
48- # uses: actions/checkout@v4
49-
50- # - name: Installing Snyk
51- # run: |
52- # npm install -g snyk
53- # snyk auth ${SNYK_TOKEN}
54-
55- # - name: Install dependencies
56- # run: |
57- # pip install -r requirements.txt
58- # python -m pip install --upgrade pip
59-
60- # - name: Snyk Code test
61- # run: |
62- # snyk code test --sarif > snyk-cide.sarif
63- # synk test --sarif > snyk-test.sarif
64-
6522 # Scan the contianer and lists all security vulnerabilities
6623 trivy_scans :
6724 name : Run Trivy security scanner against the image
You can’t perform that action at this time.
0 commit comments