From d7dd1b0011e696dc6e4f718141bc147ba3efbc47 Mon Sep 17 00:00:00 2001 From: Michael Bryant Date: Wed, 18 Dec 2024 13:09:03 -0800 Subject: [PATCH] ci: cache pip, not poetry --- .github/workflows/checks.yml | 4 +--- .github/workflows/publish-docs.yml | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index c4258c60..f66947f5 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -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 diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml index 0593158e..e7371180 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/publish-docs.yml @@ -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