Skip to content

Commit 1148b71

Browse files
authored
Merge pull request #34 from xnox/fix-action
fix(lint.yaml): unroll pre-commit/action as it is uses actions/cache without pin
2 parents e23d002 + c72c423 commit 1148b71

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/lint.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,11 @@ jobs:
2323

2424
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # ratchet:actions/checkout@v4.2.2
2525
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
26-
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
26+
# Unroll pre-commit/actions as currently it references actions/cache without a by-digest pin
27+
# https://github.com/pre-commit/pre-commit/issues/3672
28+
- run: python -m pip install pre-commit
29+
shell: bash
30+
- run: python -m pip freeze --local
31+
shell: bash
32+
- run: pre-commit run --show-diff-on-failure --color=always --all-files
33+
shell: bash

0 commit comments

Comments
 (0)