From 96d77d646604a3766d9d07317ae2cae61be32fe2 Mon Sep 17 00:00:00 2001 From: bobobo1618 Date: Mon, 29 Jan 2024 17:22:16 +0100 Subject: [PATCH] Cache docker images --- .github/workflows/rust.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 2c0b2a3..47bdbc5 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -20,6 +20,11 @@ jobs: - name: Setup Cache uses: Swatinem/rust-cache@v2 + + - name: Cache Docker images. + uses: ScribeMD/docker-cache@0.3.7 + with: + key: docker-${{ runner.os }}-${{ hashFiles(paths) }} # Only install cross if we need it # Install via cargo-binstall which I found faster