Repository navigation
check-peps: validate every Python-Version entry, not just the first #11774
Workflow file for this run
This file contains hidden or 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: Lint PEPs | ||
| on: [push, pull_request, workflow_dispatch] | ||
| permissions: {} | ||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | ||
| cancel-in-progress: true | ||
| env: | ||
| FORCE_COLOR: 1 | ||
| RUFF_OUTPUT_FORMAT: github | ||
| jobs: | ||
| lint: | ||
| name: Run pre-commit | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | ||
| with: | ||
| persist-credentials: false | ||
| - name: Run pre-commit hooks | ||
| uses: j178/prek-action@44924fe9ef4a6f88253c4b6b1bf11c689d3ce53d # v3.1.0 | ||
| - name: Check spelling | ||
| uses: j178/prek-action@44924fe9ef4a6f88253c4b6b1bf11c689d3ce53d #v3.1.0 | ||
| continue-on-error: true | ||
| with: | ||
| extra_args: --all-files --hook-stage manual codespell | ||