diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index b0364cb76..76f708a23 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -30,6 +30,8 @@ jobs: # components: ${{ runner.os == 'Linux' && 'rustfmt' || '' }} - name: Restore Cache uses: Swatinem/rust-cache@v2 + with: + cache-all-crates: true - name: Cargo Format # We'll only run this on one platform. run: cargo fmt --all -- --check