All checks were successful
Lint & Security / precommit-and-security (pull_request) Successful in 59s
37 lines
809 B
YAML
37 lines
809 B
YAML
name: Lint & Security
|
|
|
|
on:
|
|
pull_request:
|
|
|
|
jobs:
|
|
precommit-and-security:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: "3.13"
|
|
|
|
- name: Install pre-commit
|
|
run: pip install pre-commit
|
|
|
|
- name: Run pre-commit hooks
|
|
run: pre-commit run --all-files --color always
|
|
|
|
- name: Install Poetry
|
|
run: |
|
|
pip install poetry
|
|
poetry self add poetry-plugin-export
|
|
|
|
- name: Install pip-audit
|
|
run: pip install pip-audit
|
|
|
|
- name: Audit dependencies (Poetry lockfile)
|
|
run: |
|
|
poetry export -f requirements.txt --without-hashes \
|
|
| pip-audit -r /dev/stdin
|