Cache pre-commit workflow (#3863)

This commit is contained in:
Dhruv Manilawala 2020-11-05 16:36:59 +05:30 committed by GitHub
parent 29d0fbb0e0
commit fdba34f704
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,6 +7,12 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: |
~/.cache/pre-commit
~/.cache/pip
key: ${{ runner.os }}-pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}
- uses: actions/setup-python@v2 - uses: actions/setup-python@v2
- name: Install pre-commit - name: Install pre-commit
run: | run: |