From fb286017f30ef1033e4f62889cf2d38a1f103088 Mon Sep 17 00:00:00 2001 From: Jade Ellis Date: Sun, 12 Apr 2026 19:41:04 +0100 Subject: [PATCH] ci: Just remove the cache dance action --- .../actions/prepare-docker-build/action.yml | 56 ------------------- 1 file changed, 56 deletions(-) diff --git a/.forgejo/actions/prepare-docker-build/action.yml b/.forgejo/actions/prepare-docker-build/action.yml index 2da470e06..1d8ab1549 100644 --- a/.forgejo/actions/prepare-docker-build/action.yml +++ b/.forgejo/actions/prepare-docker-build/action.yml @@ -111,59 +111,3 @@ runs: - uses: ./.forgejo/actions/timelord id: timelord - - - name: Cache Rust registry - if: ${{ env.BUILDKIT_ENDPOINT == '' && env.ACTIONS_CACHE_URL != '' }} - uses: actions/cache@v3 - with: - path: | - .cargo/git - .cargo/git/checkouts - .cargo/registry - .cargo/registry/src - key: continuwuity-rust-registry-image-${{hashFiles('**/Cargo.lock') }} - - - name: Cache cargo target - if: ${{ env.BUILDKIT_ENDPOINT == '' && env.ACTIONS_CACHE_URL != '' }} - id: cache-cargo-target - uses: actions/cache@v3 - with: - path: | - cargo-target${{ env.CPU_SUFFIX }}-${{ inputs.slug }}-${{ inputs.profile }} - key: continuwuity-cargo-target${{ env.CPU_SUFFIX }}-${{ inputs.slug }}-${{ inputs.profile }}-${{hashFiles('**/Cargo.lock') }}-${{steps.rust-toolchain.outputs.rustc_version}} - - - name: Cache apt cache - if: ${{ env.BUILDKIT_ENDPOINT == '' && env.ACTIONS_CACHE_URL != '' }} - id: cache-apt - uses: actions/cache@v3 - with: - path: | - var-cache-apt-${{ inputs.slug }} - key: continuwuity-var-cache-apt-${{ inputs.slug }} - - - name: Cache apt lib - if: ${{ env.BUILDKIT_ENDPOINT == '' && env.ACTIONS_CACHE_URL != '' }} - id: cache-apt-lib - uses: actions/cache@v3 - with: - path: | - var-lib-apt-${{ inputs.slug }} - key: continuwuity-var-lib-apt-${{ inputs.slug }} - - - name: inject cache into docker - if: ${{ env.BUILDKIT_ENDPOINT == '' && env.ACTIONS_CACHE_URL != '' }} - uses: https://github.com/reproducible-containers/buildkit-cache-dance@v3.3.2 - with: - cache-map: | - { - ".cargo/registry": "/usr/local/cargo/registry", - ".cargo/git/db": "/usr/local/cargo/git/db", - "cargo-target${{ env.CPU_SUFFIX }}-${{ inputs.slug }}-${{ inputs.profile }}": { - "target": "/app/target", - "id": "cargo-target${{ env.CPU_SUFFIX }}-${{ inputs.slug }}-${{ inputs.profile }}" - }, - "var-cache-apt-${{ inputs.slug }}": "/var/cache/apt", - "var-lib-apt-${{ inputs.slug }}": "/var/lib/apt", - "${{ steps.timelord.outputs.database-path }}":"/timelord" - } - skip-extraction: ${{ steps.cache.outputs.cache-hit }}