From c4e980de78449d3366d061bbf04964861abe95c6 Mon Sep 17 00:00:00 2001 From: Ignacio Vizzo Date: Tue, 3 Oct 2023 08:03:00 -0400 Subject: [PATCH] Simplify CI (#230) the cache logic is already part of the action: https://github.com/pre-commit/action/blob/main/action.yml Signed-off-by: Ignacio Vizzo --- .github/workflows/pre-commit.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 1b011815..809ea789 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -15,10 +15,4 @@ jobs: - uses: actions/setup-python@v4 with: python-version: "3.10" - - name: set PY - run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV - - uses: actions/cache@v1 - with: - path: ~/.cache/pre-commit - key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }} - uses: pre-commit/action@v3.0.0