name: Ruff on: push: paths: - '**.py' - 'pyproject.toml' - '.github/workflows/ruff.yml' jobs: build: runs-on: ubuntu-latest strategy: matrix: python-version: ["3.x"] steps: - uses: actions/checkout@v5 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v6 with: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | python -m pip install --upgrade pip pip install ".[dev]" - name: Ruff run: | ruff check . ruff format --check .