Bump actions/upload-artifact from 4 to 6 (#29) #11
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: Lint | |
| on: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Install lint tools | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install ruff black | |
| - name: Ruff (report only) | |
| run: ruff check src tests | |
| continue-on-error: true | |
| - name: Black (report only) | |
| run: black --check src tests | |
| continue-on-error: true |