ci(deps): bump actions/checkout from 4 to 6 #101
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: Test | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - master | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] | |
| name: Python ${{ matrix.python-version }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v6 | |
| - name: Install dependencies | |
| run: uv sync | |
| - name: Ensure latest setuptools & pre-commit is installed | |
| run: pip install --upgrade setuptools pre-commit | |
| - name: Lint project | |
| run: | | |
| pre-commit run --all-files --color always | |
| uv run safety check --continue-on-error --full-report | |
| - name: Test package | |
| run: | | |
| uv run coverage run | |
| uv run coverage report | |
| uv run coverage xml | |
| - name: Upload coverage | |
| uses: codecov/codecov-action@v3 | |
| with: | |
| files: reports/coverage.xml |