From 0c202cb66d6113ef1668463aefaad875fc9bc22f Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 14 Jan 2024 18:25:44 +0100 Subject: [PATCH] Fix precommit file --- .github/workflows/pre-commit.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 8b0e268ebfb..f772f917ef9 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -30,8 +30,7 @@ jobs: - uses: actions/cache/restore@v3 with: path: ~/.cache/pre-commit/ - key: pre-commit-4|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml') - }} + key: pre-commit-4|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml') }} # Run alls the precommit tools (defined into pre-commit-config.yaml). We can force exclusion of some of them here. - name: Run pre-commit hooks env: @@ -54,7 +53,6 @@ jobs: files: ${{ env.CS_XML }} notices-as-warnings: true # optional prepend-filename: true # optional - # Save the precommit cache - uses: actions/cache/save@v3 if: ${{ always() }}