name: Ruff on: push: pull_request: workflow_dispatch: jobs: ruff: runs-on: ubuntu-latest env: UV_CACHE_DIR: /tmp/.uv-cache steps: - name: Install git-annex run: | sudo apt-get update sudo apt-get install -y git-annex - name: Check out the repository uses: https://github.com/RouxAntoine/checkout@v4.1.8 with: show-progress: true - name: Install uv uses: astral-sh/setup-uv@v7 with: enable-cache: true - name: Install corrlib run: uv sync --locked --all-extras --dev --python "3.12" - name: Run tests run: uv run ruff check corrlib