Skip to content

Commit

Permalink
Remove restore-keys from GitHub cache action
Browse files Browse the repository at this point in the history
Forces full install when files change
  • Loading branch information
klane committed Dec 27, 2019
1 parent 2d2196a commit a758c95
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ jobs:
with:
path: ~/.cache/pre-commit
key: pre-commit|${{ steps.hash.outputs.hash }}|${{ hashFiles('.pre-commit-config.yaml') }}
restore-keys: |
pre-commit|${{ steps.hash.outputs.hash }}
- name: Run pre-commit
uses: pre-commit/[email protected]

Expand Down Expand Up @@ -83,8 +81,6 @@ jobs:
with:
path: ${{ matrix.poetry_cache }}
key: poetry|${{ hashFiles('environment') }}|${{ hashFiles('poetry.lock') }}
restore-keys: |
poetry|${{ hashFiles('environment') }}
- name: Install dependencies
run: poetry install
- name: Run tests
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
- Changed super calls to Python 3 standard ([#116](https://github.com/klane/jekyllnb/issues/116)).
- Dropped Python 2 support ([#121](https://github.com/klane/jekyllnb/pull/121)).
- Skipped CI tests on changes to docs and Markdown files.
- Removed restore-keys from GitHub cache action.

### Fixed

Expand Down

0 comments on commit a758c95

Please sign in to comment.