diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4d494799..a491e40b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,19 +21,16 @@ jobs: - uses: aevea/commitsar@v1.0.2 pre-commit: - name: Generic pre-commit checks + name: Pre-commit checks runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v6 with: fetch-depth: 1 - - uses: actions/setup-python@v6 - with: - python-version: 3.11 + - uses: astral-sh/setup-uv@v6 - - run: pip install pre-commit - - run: SKIP=fmt,cargo-check,clippy pre-commit run --all-files + - run: SKIP=fmt,cargo-check,clippy uvx prek run --all-files eslint: name: ESLint diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f10617f3..d19bf9e3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,7 +3,7 @@ default_language_version: repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v5.0.0 + rev: v6.0.0 hooks: - id: check-yaml - id: end-of-file-fixer @@ -30,11 +30,11 @@ repos: - id: yamllint - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.12.1 + rev: v0.14.10 hooks: - id: ruff-format - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.12.1 + rev: v0.14.10 hooks: - id: ruff