Skip to content

Commit

Permalink
fixing the caching directives in all the places they are tediously re…
Browse files Browse the repository at this point in the history
…peated
  • Loading branch information
carl-tstpd committed May 14, 2023
1 parent 8039d24 commit 9c6cdca
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
id: generate-python-key
run: >-
echo "::set-output name=key::base-venv-${{ env.CACHE_VERSION }}-${{
hashFiles('setup.cfg', 'requirements_test.txt', 'requirements_test_min.txt')
hashFiles('poetry.lock', 'pyproject.toml')
}}"
- name: Restore Python virtual environment
id: cache-venv
Expand All @@ -45,8 +45,8 @@ jobs:
run: |
python -m venv venv
. venv/bin/activate
python -m pip install -U pip setuptools wheel
pip install -U -r requirements_test.txt
python -m pip install -U pip poetry
poetry install
- name: Generate pre-commit restore key
id: generate-pre-commit-key
run: >-
Expand Down Expand Up @@ -89,7 +89,7 @@ jobs:
id: generate-python-key
run: >-
echo "::set-output name=key::venv-${{ env.CACHE_VERSION }}-${{
hashFiles('setup.cfg', 'requirements_test.txt', 'requirements_test_min.txt')
hashFiles('poetry.lock', 'pyproject.toml')
}}"
- name: Restore Python virtual environment
id: cache-venv
Expand Down Expand Up @@ -214,7 +214,7 @@ jobs:
id: generate-python-key
run: >-
echo "::set-output name=key::venv-${{ env.CACHE_VERSION }}-${{
hashFiles('setup.cfg', 'requirements_test_min.txt')
hashFiles('poetry.lock', 'pyproject.toml')
}}"
- name: Restore Python virtual environment
id: cache-venv
Expand Down Expand Up @@ -294,7 +294,7 @@ jobs:
id: generate-python-key
run: >-
echo "::set-output name=key::venv-${{ env.CACHE_VERSION }}-${{
hashFiles('setup.cfg', 'requirements_test_min.txt')
hashFiles('poetry.lock', 'pyproject.toml')
}}"
- name: Restore Python virtual environment
id: cache-venv
Expand Down

0 comments on commit 9c6cdca

Please sign in to comment.