diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ec61ac4..148a1da 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -75,12 +75,11 @@ jobs: - uses: ./.github/actions/setup with: minimal: 'true' - - shell: bash - run: | - source .venv/bin/activate - uv pip install ruff - ruff --version - ruff check --config pyproject.toml --preview + - uses: astral-sh/ruff-action@v4.1.0 + with: + version: 'latest' + - run: ruff --version + - run: ruff check --config pyproject.toml --preview ty: name: Lint / ty diff --git a/pyproject.toml b/pyproject.toml index a21634b..7f935b6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -169,7 +169,7 @@ exclude = [ "venv" ] # Required Ruff version -required-version = ">=0.7.1" +required-version = ">=0.16.7" show-fixes = true # PyHOPE requires Python 3.10 or newer target-version = "py310"