DOC: Add a heading for Creating repository #514
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
# pre-commit workflow | |
# | |
# Ensures the codebase passes the pre-commit stack. | |
# We run this on GHA to catch issues in commits from contributors who haven't | |
# set up pre-commit. | |
name: pre-commit | |
on: [push, pull_request] | |
jobs: | |
pre-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
cache: pip | |
- uses: pre-commit/[email protected] |