Skip to content

Run pre-commit in a github action #6

Run pre-commit in a github action

Run pre-commit in a github action #6

Workflow file for this run

---
on:
pull_request:
push:
branches: [main]
jobs:
pre-commit:
name: Run pre-commit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- run: python -m pip install pre-commit
shell: bash
- run: pre-commit run --show-diff-on-failure --color=always -a
shell: bash