File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 runs-on : ubuntu-24.04
1616 steps :
1717 - uses : actions/checkout@master
18+ - name : Install Pipenv
19+ run : >
20+ sudo apt install pipenv
21+ - name : Install dependencies with Pipenv
22+ run : |
23+ pipenv sync --dev
1824 - name : Run Snyk to check for vulnerabilities
1925 uses : snyk/actions/python@9adf32b1121593767fc3c057af55b55db032dc04
2026 continue-on-error : true # To make sure that SARIF upload gets called
2329 with :
2430 args : >
2531 --print-deps
26- --file=Pipfile.lock
32+ --file=Pipfile
2733 --command=python3
2834 --sarif-file-output=snyk-code.sarif
2935 - name : Upload result to GitHub Code Scanning
Original file line number Diff line number Diff line change @@ -49,7 +49,8 @@ COPY ./CODE_OF_CONDUCT.md ${WORKDIR}/
4949
5050# Code source
5151COPY ./src/ ${WORKDIR}/src
52- COPY ./requirements.txt ${WORKDIR}/
52+ COPY Pipfile ${WORKDIR}/
53+ COPY Pipfile.lock ${WORKDIR}/
5354COPY ./setup.cfg ${WORKDIR}/
5455COPY ./Makefile ${WORKDIR}/
5556
You can’t perform that action at this time.
0 commit comments