mirror of
https://github.com/cisagov/log4j-affected-db.git
synced 2024-11-22 16:40:48 +00:00
Adjust cache key name
Make the job name the first part of the cache key since it is the only part that isn't variable.
This commit is contained in:
parent
6ab69f4f51
commit
969efdd0bb
1 changed files with 3 additions and 3 deletions
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
|
@ -29,12 +29,12 @@ jobs:
|
|||
path: |
|
||||
${{ env.PIP_CACHE_DIR }}
|
||||
${{ env.PRE_COMMIT_CACHE_DIR }}
|
||||
key: "${{ runner.os }}-lint-py${{ env.PY_VERSION }}-\
|
||||
key: "lint-${{ runner.os }}-py${{ env.PY_VERSION }}-\
|
||||
${{ hashFiles('**/requirements-test.txt') }}-\
|
||||
${{ hashFiles('**/.pre-commit-config.yaml') }}"
|
||||
restore-keys: |
|
||||
${{ runner.os }}-lint-py${{ env.PY_VERSION }}-
|
||||
${{ runner.os }}-lint-
|
||||
lint-${{ runner.os }}-py${{ env.PY_VERSION }}-
|
||||
lint-${{ runner.os }}-
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
|
|
Loading…
Reference in a new issue