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 }}