Skip to content

Commit

Permalink
actions: enforce cache health timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
abn committed Sep 25, 2020
1 parent ad0cea9 commit ce0c233
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
- name: Ensure cache is healthy
if: steps.cache.outputs.cache-hit == 'true'
shell: bash
run: python -m poetry run pip --version >/dev/null 2>&1 || rm -rf .venv
run: timeout 10s python -m poetry run pip --version || rm -rf .venv

- name: Install dependencies
shell: bash
Expand Down

0 comments on commit ce0c233

Please sign in to comment.