From 3993896e29d5e679bb8cac9a7d236814fef5bfe5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Armandas=20Jaru=C5=A1auskas?= Date: Mon, 26 Feb 2024 17:34:29 +0900 Subject: [PATCH] Enable caching after Rust setup (#145) --- .github/rust_ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/rust_ci.yml b/.github/rust_ci.yml index 2bf8200..8bc8054 100644 --- a/.github/rust_ci.yml +++ b/.github/rust_ci.yml @@ -30,8 +30,6 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 - - name: Enable caching - uses: Swatinem/rust-cache@v2 - name: Setup Rust {%- if arch == "riscv" %} uses: dtolnay/rust-toolchain@v1 @@ -46,6 +44,8 @@ jobs: buildtargets: {{ mcu }} ldproxy: false {%- endif %} + - name: Enable caching + uses: Swatinem/rust-cache@v2 - name: Run command {%- raw %} run: cargo ${{ matrix.action.command }} ${{ matrix.action.args }}