Skip to content

Add pre-commit workflow #1

Add pre-commit workflow

Add pre-commit workflow #1

Workflow file for this run

name: Pre-Commit Checks
on:
pull_request:
push:
branches: [main, dev]
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- run: python -m pip install pre-commit
shell: bash
- run: python -m pip freeze --local
shell: bash
- run: pre-commit run --show-diff-on-failure --color=always
shell: bash