Skip to content

Commit b500182

Browse files
author
Gonzalo Diaz
committed
[BUGFIX] sonarcloud: Omitting "--only-binary :all:" can lead to the execution of setup scripts. Make sure it is safe here.
1 parent b77982f commit b500182

2 files changed

Lines changed: 11 additions & 1 deletion

File tree

.github/workflows/snyk-code.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,20 @@ on: # yamllint disable-line rule:truthy
1010
- '!dependabot/**' # excludes master
1111
workflow_dispatch:
1212

13+
env:
14+
LANG: C.UTF-8
15+
1316
jobs:
1417
security:
1518
runs-on: ubuntu-24.04
1619
steps:
1720
- uses: actions/checkout@master
21+
- name: Install Pipenv
22+
run: >
23+
sudo apt install pipenv
24+
- name: Install dependencies with Pipenv
25+
run: |
26+
pipenv sync --dev
1827
- name: Run Snyk to check for vulnerabilities
1928
uses: snyk/actions/python@9adf32b1121593767fc3c057af55b55db032dc04
2029
continue-on-error: true # To make sure that SARIF upload gets called

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ COPY ./CODE_OF_CONDUCT.md ${WORKDIR}/
4949

5050
# Code source
5151
COPY ./src/ ${WORKDIR}/src
52-
COPY ./requirements.txt ${WORKDIR}/
52+
COPY Pipfile ${WORKDIR}/
53+
COPY Pipfile.lock ${WORKDIR}/
5354
COPY ./setup.cfg ${WORKDIR}/
5455
COPY ./Makefile ${WORKDIR}/
5556

0 commit comments

Comments
 (0)