Bump docker/setup-qemu-action from 3 to 4 #531
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: 🧹 Ruff linter checks | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install dependencies | |
| run: | | |
| pip install pre-commit ruff | |
| # 4️⃣ Run pre-commit on all files | |
| - name: Run pre-commit hooks | |
| run: | | |
| pre-commit run --all-files || ( | |
| echo "" | |
| echo "❌ Pre-commit checks failed!" | |
| echo "This project REQUIRES pre-commit to run formatting and lint fixes." | |
| echo "" | |
| echo "To fix locally, run:" | |
| echo " pip install pre-commit" | |
| echo " pre-commit install" | |
| echo " pre-commit run --all-files" | |
| exit 1 | |
| ) |