Skip to content

Commit

Permalink
attempt to clear cache #1
Browse files Browse the repository at this point in the history
  • Loading branch information
bahill committed Nov 14, 2024
1 parent 7a9d1ce commit 65cffaa
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/validate_pull_request_main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,21 @@ jobs:
uses: snok/install-poetry@v1
with:
version: 1.1.9
- name: Clear Poetry Cache
run: poetry cache clear --all
# run: rm -rf ~/.cache/pypoetry
- name: Restore cache dependencies
uses: actions/cache@v2
env:
cache-name: cache-poetry-v2
with:
path: ~/.cache/pypoetry
# key uses pyproject.toml hash, so it's unique to each version of pyproject.toml
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('./orchestration/pyproject.toml') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
# restore-keys: |
# ${{ runner.os }}-build-${{ env.cache-name }}-
# ${{ runner.os }}-build-
# ${{ runner.os }}-
- name: Install dependencies
run: poetry install
working-directory: ${{ github.workspace }}/orchestration
Expand Down

0 comments on commit 65cffaa

Please sign in to comment.