Merge pull request #4 from vldmrdev/3-remove-depricated-python-versions #11
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: Testing package | |
| on: | |
| pull_request: | |
| paths-ignore: | |
| - '*.md' | |
| push: | |
| paths-ignore: | |
| - '*.md' | |
| permissions: | |
| actions: read | |
| contents: read | |
| pull-requests: read | |
| jobs: | |
| lint: | |
| strategy: | |
| matrix: | |
| cmd: [ "black", "ruff", "mypy" ] | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| with: | |
| persist-credentials: false | |
| - id: setup-uv | |
| uses: astral-sh/setup-uv@v7 | |
| with: | |
| enable-cache: true | |
| cache-suffix: "3.12" | |
| version: "latest" | |
| python-version: 3.12 | |
| - name: Install deps | |
| run: uv sync --all-extras | |
| - name: Run lint check | |
| run: uv run pre-commit run -a ${{ matrix.cmd }} |