From a7ccc3a494ef35030a47818bcaf24ae8b979828b Mon Sep 17 00:00:00 2001 From: Ignacio Vizzo Date: Tue, 3 Oct 2023 07:39:41 -0400 Subject: [PATCH] Simplify CI 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