Skip to content

Commit fdba34f

Browse files
authored
Cache pre-commit workflow (#3863)
1 parent 29d0fbb commit fdba34f

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)