Skip to content

Export requirements.txt for Snyk #2

Export requirements.txt for Snyk

Export requirements.txt for Snyk #2

Workflow file for this run

on:
push:
pull_request:
jobs:
snyk-test:
permissions:
contents: read
security-events: write
actions: read
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v4
with:
enable-cache: true
- run: uv export --all-packages --frozen --no-emit-project > requirements.txt
- uses: snyk/actions/python@master
with:
args: --sarif-file-output=snyk.sarif
continue-on-error: true
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
- uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: snyk.sarif