|
|
|
@ -14,12 +14,6 @@ jobs: |
|
|
|
|
- uses: actions/setup-python@v1 |
|
|
|
|
with: |
|
|
|
|
python-version: 3.8 |
|
|
|
|
- name: Cache pre-commit hooks |
|
|
|
|
uses: actions/cache@v1 |
|
|
|
|
with: |
|
|
|
|
path: ~/.cache/pre-commit |
|
|
|
|
key: "${{ runner.os }}-pre-commit-\ |
|
|
|
|
${{ hashFiles('**/.pre-commit-config.yaml') }}" |
|
|
|
|
- name: Cache pip test requirements |
|
|
|
|
uses: actions/cache@v1 |
|
|
|
|
with: |
|
|
|
@ -29,6 +23,12 @@ jobs: |
|
|
|
|
restore-keys: | |
|
|
|
|
${{ runner.os }}-pip-test- |
|
|
|
|
${{ runner.os }}-pip- |
|
|
|
|
- name: Cache pre-commit hooks |
|
|
|
|
uses: actions/cache@v1 |
|
|
|
|
with: |
|
|
|
|
path: ~/.cache/pre-commit |
|
|
|
|
key: "${{ runner.os }}-pre-commit-\ |
|
|
|
|
${{ hashFiles('**/.pre-commit-config.yaml') }}" |
|
|
|
|
- name: Install dependencies |
|
|
|
|
run: | |
|
|
|
|
python -m pip install --upgrade pip |
|
|
|
|