Updating project to prepare for deployment to PyPi #9
Workflow file for this run
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 checks | |
on: | |
pull_request: | |
jobs: | |
pre-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install uv | |
uses: astral-sh/setup-uv@v4 | |
- name: Install pre-commit globally | |
run: uv tool install pre-commit --with pre-commit-uv --force | |
- name: Run pre-commit hooks | |
env: | |
SKIP: no-commit-to-branch # Skip the main branch protection hook in CI | |
run: pre-commit run --all-files |