test: Black compatible Flake8 configuration [ruff-plugin] #1194
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: safety | |
on: push # yamllint disable-line rule:truthy | |
jobs: | |
safety: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install uv | |
uses: astral-sh/setup-uv@v3 | |
- uses: actions/setup-python@v5 | |
- run: uvx --from pip-tools pip-compile setup.cfg | |
- name: Check dependencies for known security vulnerabilities using Safety | |
run: uvx safety check --file requirements.txt |