build(deps): bump django from 4.2.16 to 5.0.10 in /cfl_common #787
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Snyk | |
on: | |
release: | |
types: [published] | |
pull_request: | |
jobs: | |
security: | |
name: Run Snyk | |
runs-on: ubuntu-latest | |
env: | |
LANG: C.UTF-8 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup python-version | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
architecture: "x64" | |
- name: Install Python dependencies | |
run: | | |
pip install pipenv | |
pipenv install --dev --system | |
- name: Generate requirements | |
run: pip freeze > requirements.txt | |
- name: Run Snyk to check for vulnerabilities in Python | |
uses: snyk/actions/python@master | |
env: | |
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} | |
with: | |
command: monitor --file=requirements.txt --package-manager=pip --project-name="portal" |