Skip to content

Commit

Permalink
Simplify CI (#230)
Browse files Browse the repository at this point in the history
the cache logic is already part of the action:
https://github.com/pre-commit/action/blob/main/action.yml

Signed-off-by: Ignacio Vizzo <ignacio@dexory.com>
  • Loading branch information
nachovizzo authored Oct 3, 2023
1 parent ae77e51 commit c4e980d
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit c4e980d

Please sign in to comment.