Merge pull request #398 from posit-dev/fix-avoid-early-collect #1464
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: Code Checks | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: ["main", "dev-*"] | |
| pull_request: | |
| release: | |
| types: [published] | |
| jobs: | |
| pre-commit: | |
| name: "Run pre-commit" | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.10" | |
| - name: Setup uv | |
| uses: astral-sh/setup-uv@v2 | |
| - name: Check validate.pyi is up to date | |
| run: | | |
| uv run make pyi | |
| git diff --exit-code pointblank/validate.pyi || \ | |
| (echo "validate.pyi is out of date — run 'make pyi' and commit the result" && exit 1) | |
| - uses: pre-commit/action@v3.0.1 |