Skip to content

Commit 89f341c

Browse files
dhruvmanilashermanhui
authored andcommitted
Cache pre-commit workflow (TheAlgorithms#3863)
1 parent d5976ec commit 89f341c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Diff for: .github/workflows/pre-commit.yml

+6
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- uses: actions/checkout@v2
10+
- uses: actions/cache@v2
11+
with:
12+
path: |
13+
~/.cache/pre-commit
14+
~/.cache/pip
15+
key: ${{ runner.os }}-pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}
1016
- uses: actions/setup-python@v2
1117
- name: Install pre-commit
1218
run: |

0 commit comments

Comments
 (0)