Add GitHub Actions workflow for pre-commit hooks #4
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: pre-commit | |
"on": [pull_request, push] | |
jobs: | |
pre-commit: | |
runs-on: ubuntu-22.04 | |
steps: | |
# Check against the lowest supported version | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.8" | |
- uses: actions/checkout@v4 | |
- uses: pre-commit/action@v3 |