From 66262403b7ae1698282c4bb6132a249348718839 Mon Sep 17 00:00:00 2001 From: Kurt McKee Date: Mon, 23 Dec 2024 16:03:08 -0600 Subject: [PATCH] Eliminate the out-of-date `pre-commit/action` This also addresses changes in GitHub runners, which should have Pythons specifically configured. --- .github/workflows/ci.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 7243c7d..ef32169 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -89,7 +89,13 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: pre-commit/action@v3.0.0 + - uses: actions/setup-python@v5 + with: + python-version: "3.10" + - run: | + python -m pip install uv + uv pip install --system pre-commit pre-commit-uv + pre-commit run --all-files Typecheck: runs-on: ubuntu-latest