ALPHA: wire is a tool to deploy nixos systems wire.althaea.zone/
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

actions: cache uv directories (#380)

authored by

marshmallow and committed by
GitHub
56fe73eb ef99c385

+12
+12
.github/workflows/autofix.yml
··· 26 26 autofix: 27 27 runs-on: ubuntu-latest 28 28 needs: check-changes 29 + env: 30 + UV_CACHE_DIR: /tmp/.uv-cache 29 31 steps: 30 32 - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 31 33 with: ··· 40 42 ~/.cargo/registry/cache/ 41 43 ~/.cargo/git/db/ 42 44 key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} 45 + - name: Cache uv 46 + uses: actions/cache@v5 47 + with: 48 + path: /tmp/.uv-cache 49 + key: uv-${{ runner.os }}-${{ hashFiles('**/uv.lock') }} 50 + restore-keys: | 51 + uv-${{ runner.os }}-${{ hashFiles('**/uv.lock') }} 52 + uv-${{ runner.os }} 43 53 - name: setup sqlx 44 54 run: nix develop -L -v -c sqlx database setup --source ./crates/core/src/cache/migrations/ 45 55 - name: autofix sqlx ··· 52 62 - name: Upgrade Hash 53 63 if: ${{ needs.check-changes.outputs.docs-pnpm == 'true' }} 54 64 run: bash ./doc/upgrade.sh 65 + - name: Minimise uv cache 66 + run: nix develop -L -v -c uv cache prune --ci 55 67 - uses: autofix-ci/action@635ffb0c9798bd160680f18fd73371e355b85f27