Bump actions/checkout from 4 to 6 #13
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: Python package | |
| on: | |
| push: | |
| branches: ["main"] | |
| pull_request: | |
| branches: ["main"] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ["3.12", "3.13"] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v3 | |
| - name: Install dependencies | |
| run: uv sync --extra dev | |
| - name: Audit dependencies | |
| run: uv run pip-audit --ignore-vuln CVE-2026-4539 | |
| - name: Run bandit | |
| run: uv run bandit -r . -c pyproject.toml | |
| - name: Run pre-commit (format & lint) | |
| run: uv run pre-commit run --all-files | |
| - name: Test with pytest | |
| run: uv run python -m pytest tests -rP |