Files
agentic_security/.github/workflows/pre-commit.yml
T
Alexander Myasoedov a0b2b9ec70 feat(py upgrade):
2026-05-14 18:56:24 +03:00

28 lines
554 B
YAML

name: Pre-Commit Checks
env:
POETRY_VERSION: "1.8.5"
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.12'
- name: Install poetry
run: pipx install poetry==$POETRY_VERSION
- name: Install pre-commit
run: poetry install
- name: Run pre-commit
run: poetry run pre-commit run --all-files