Repository navigation
Merge pull request #23 from pimoroni/repackaging #9
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: QA | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - master | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| name: Linting & Spelling | |
| runs-on: ubuntu-latest | |
| env: | |
| TERM: xterm-256color | |
| steps: | |
| - name: Checkout Code | |
| uses: actions/checkout@v7 | |
| with: | |
| fetch-depth: 0 # the version comes from the git tag | |
| - name: Set up uv | |
| uses: astral-sh/setup-uv@v10.0.1 | |
| with: | |
| enable-cache: true | |
| python-version: '3.11' | |
| - name: Run Quality Assurance | |
| run: | | |
| uv run make qa | |
| - name: Run Code Checks | |
| run: | | |
| uv run make check | |
| - name: Run Pre-Commit | |
| run: | | |
| uv run pre-commit run --all-files |