From 0b36cd0615f6a7e750321ef60699ac96c67f8c15 Mon Sep 17 00:00:00 2001 From: Hynek Schlawack Date: Thu, 31 Oct 2024 10:30:44 +0100 Subject: [PATCH] Use pre-commit action --- .github/workflows/ci.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0564016..43b7d38 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,18 +18,17 @@ permissions: {} jobs: lint: - name: Run linters + name: Run pre-commit runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + persist-credentials: false - uses: actions/setup-python@v5 with: python-version-file: .python-version-default - - uses: hynek/setup-cached-uv@v2 - - run: > - uvx --with tox-uv - tox run -e lint -- --show-diff-on-failure + - uses: tox-dev/action-pre-commit-uv@v1 build-package: