Skip to content

Commit

Permalink
Update style-checks.yaml
Browse files Browse the repository at this point in the history
comment load chached venv if it exists
  • Loading branch information
ovejabu authored Jun 6, 2024
1 parent 60acc8c commit 8aed173
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/style-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ jobs:
virtualenvs-in-project: true

# Allow loading a cached venv created in a previous run if the lock file is identical
- name: Load cached venv if it exists
id: venv-cache
uses: actions/cache@v3
with:
path: .venv
key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock', '**/pyproject.toml') }}
# - name: Load cached venv if it exists
# id: venv-cache
# uses: actions/cache@v3
# with:
# path: .venv
# key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock', '**/pyproject.toml') }}

- name: Install dependencies
if: steps.venv-cache.outputs.cache-hit != 'true'
Expand Down

0 comments on commit 8aed173

Please sign in to comment.