From f697ded4aefc9f3228997b6911b779af83d8b6be Mon Sep 17 00:00:00 2001 From: yemine0x01 Date: Wed, 30 Sep 2026 18:01:21 -0400 Subject: [PATCH] Run pre-commit without the Node 20 pre-commit action Signed-off-by: yemine0x01 --- .github/workflows/ci-build.yaml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-build.yaml b/.github/workflows/ci-build.yaml index 156985300..3b5b268fc 100644 --- a/.github/workflows/ci-build.yaml +++ b/.github/workflows/ci-build.yaml @@ -24,7 +24,16 @@ jobs: with: python-version: '3.12' - - uses: pre-commit/action@v3.0.1 + - name: Cache pre-commit environments + uses: actions/cache@v6 + with: + path: ~/.cache/pre-commit + key: pre-commit-${{ runner.os }}-${{ env.pythonLocation }}-${{ hashFiles('.pre-commit-config.yaml') }} + + - name: Run pre-commit + run: | + python -m pip install pre-commit + pre-commit run --all-files --show-diff-on-failure --color=always security-test: runs-on: ubuntu-latest