# Gitea Actions: Ruff Lint Check # # Runs ruff on every PR to main to catch violations before merge. # Complements the local pre-commit hook — violations blocked here even if # the developer bypassed the hook with --no-verify. name: Ruff Lint on: pull_request: branches: - main jobs: lint: runs-on: ubuntu-latest steps: - name: Checkout code uses: https://github.com/actions/checkout@v4 - name: Set up Python uses: https://github.com/actions/setup-python@v5 with: python-version: "3.12" - name: Install ruff run: pip install ruff - name: Run ruff check run: ruff check .