Repository navigation
ci: release from annotated tags; remove CHANGELOG-archive.md #2224
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 | |
| on: | |
| push: | |
| branches: | |
| - "**" # every branch | |
| - "!gh-pages" # exclude gh-pages branch | |
| - "!stage*" # exclude branches beginning with stage | |
| pull_request: | |
| branches: | |
| - "**" # every branch | |
| - "!gh-pages" # exclude gh-pages branch | |
| - "!stage*" # exclude branches beginning with stage | |
| # The release workflow runs this as its gate. | |
| workflow_call: | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| # enforce the same check as pre-commit | |
| # but only run important checks | |
| - uses: pre-commit/action@v3.0.1 | |
| with: | |
| extra_args: codespell --all-files | |
| - uses: pre-commit/action@v3.0.1 | |
| with: | |
| extra_args: ruff --all-files | |
| - uses: pre-commit/action@v3.0.1 | |
| with: | |
| extra_args: ruff-format --all-files |