Skip to content

typing: adding check and fixing #335

typing: adding check and fixing

typing: adding check and fixing #335

Workflow file for this run

name: Check safety
on:
pull_request:
branches: [master]
push:
branches: [master]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
jobs:
safety:
runs-on: "ubuntu-latest"
environment: safety_check
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- name: create requirements.txt
run: |
pip install uv
uv pip compile pyproject.toml -o requirements.txt
- name: Security vulnerabilities scan
uses: shaypal5/python-safety-checker@v1.0.6
with:
scan_requirements_file_only: "true"