From 7fd85550ea985a7a0948fb63461f68ccbbe2a02f Mon Sep 17 00:00:00 2001 From: Joshua Coles Date: Mon, 3 Jun 2024 19:19:50 +0100 Subject: [PATCH] Try to improve caching? --- .github/workflows/build.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e0e02a5..813af43 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,11 +10,17 @@ jobs: runs-on: ubuntu-latest container: image: catthehacker/ubuntu:act-latest + env: + RUNNER_TOOL_CACHE: /toolcache steps: - name: Checkout code uses: actions/checkout@v2 +# Note to self: maybe look at this if we want to build outside docker? +# - name: Build with cache +# uses: Swatinem/rust-cache@v2 + - name: Set up Docker Buildx uses: docker/setup-buildx-action@v1 @@ -31,3 +37,5 @@ jobs: context: . push: true tags: git.joshuacoles.me/personal/monzo-ingestion:latest + cache-from: type=registry,ref=user/app:latest + cache-to: type=inline