From 85fd5ba5927b0e820dfc57813432c8e072467b5d Mon Sep 17 00:00:00 2001 From: faucomte97 Date: Mon, 2 Sep 2024 14:46:37 +0100 Subject: [PATCH] Generic Python Snyk action --- .github/workflows/ci.yml | 1 - .github/workflows/snyk.yaml | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cef17017a..efe010b3e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,7 +29,6 @@ jobs: run: | pip install pipenv pipenv install --dev --system - pip install -U "git+https://github.com/ocadotechnology/rapid-router@python312#egg=rapid-router" yarn --frozen-lockfile - name: Collect static run: python example_project/manage.py collectstatic --noinput --settings portal_test_settings diff --git a/.github/workflows/snyk.yaml b/.github/workflows/snyk.yaml index 453841647..ebb996fe2 100644 --- a/.github/workflows/snyk.yaml +++ b/.github/workflows/snyk.yaml @@ -26,7 +26,7 @@ jobs: - name: Generate requirements run: pip freeze > requirements.txt - name: Run Snyk to check for vulnerabilities in Python - uses: snyk/actions/python-3.10@master + uses: snyk/actions/python@master env: SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} with: