1
0
Fork 0
mirror of https://github.com/cisagov/log4j-affected-db.git synced 2024-11-23 00:50:48 +00:00

Flip cache order to mirror how it is done downstream.

This commit is contained in:
Nicholas McDonnell 2020-02-12 00:14:11 -05:00
parent b857939b3d
commit d99fd00bc2
No known key found for this signature in database
GPG key ID: A3A493305F40A162

View file

@ -14,12 +14,6 @@ jobs:
- uses: actions/setup-python@v1 - uses: actions/setup-python@v1
with: with:
python-version: 3.8 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 - name: Cache pip test requirements
uses: actions/cache@v1 uses: actions/cache@v1
with: with:
@ -29,6 +23,12 @@ jobs:
restore-keys: | restore-keys: |
${{ runner.os }}-pip-test- ${{ runner.os }}-pip-test-
${{ runner.os }}-pip- ${{ 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 - name: Install dependencies
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip