Skip to content

Commit

Permalink
ci: cache pip, not poetry
Browse files Browse the repository at this point in the history
  • Loading branch information
Shadow53 committed Dec 18, 2024
1 parent 68c30b6 commit d7dd1b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,10 @@ jobs:
with:
command: install
args: --debug cargo-make
- name: Install poetry
run: pipx install poetry
- uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: poetry
cache: pip
# may protect against linking failure: no space left on device
- name: Delete huge unnecessary tools folder
run: rm -rf /opt/hostedtoolcache
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install poetry
run: pipx install poetry
- uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: poetry
cache: pip
- uses: Swatinem/rust-cache@v2
- name: Install cargo-make
uses: actions-rs/cargo@v1
Expand Down

0 comments on commit d7dd1b0

Please sign in to comment.