ci: Remove non-functional cache steps

This commit is contained in:
Jade Ellis 2025-04-18 14:08:21 +01:00
parent d85aaabe9e
commit 9e0530839d
No known key found for this signature in database
GPG key ID: 8705A2A3EBF77BD2

View file

@ -122,30 +122,6 @@ jobs:
echo "COMMIT_SHORT_SHA=$calculatedSha" >> $GITHUB_ENV echo "COMMIT_SHORT_SHA=$calculatedSha" >> $GITHUB_ENV
- name: Get Git commit timestamps - name: Get Git commit timestamps
run: echo "TIMESTAMP=$(git log -1 --pretty=%ct)" >> $GITHUB_ENV run: echo "TIMESTAMP=$(git log -1 --pretty=%ct)" >> $GITHUB_ENV
- name: Rust cache
uses: actions/cache@v4
with:
key: v0-rust-linux/${{ runner.os }}-${{ matrix.slug }}
path: |
~/.cargo/registry
~/.cargo/git/db
./target
id: rust-cache
- name: Cache timelord state
uses: actions/cache@v4
with:
path: "./timelord"
key: ${{ runner.os }}-${{ matrix.slug }}
- name: Inject cache into Docker
uses: https://github.com/reproducible-containers/buildkit-cache-dance@v3.1.2
with:
cache-map: |
{
"/home/runner/.cargo/registry": "/usr/local/cargo/registry",
"/home/runner/.cargo/git/db": "/usr/local/cargo/git/db",
"./target": "/app/target",
"./timelord": "/timelord"
}
- name: Build and push Docker image by digest - name: Build and push Docker image by digest
id: build id: build
uses: docker/build-push-action@v6 uses: docker/build-push-action@v6