cache build artifacts in CI
@@ -42,6 +42,7 @@ jobs:
toolchain: 1.54.0 # minimum supported rust version
target: ${{ matrix.job.target }}
override: true
+ - uses: Swatinem/rust-cache@v1
- uses: actions-rs/cargo@v1
with:
use-cross: ${{ matrix.job.use-cross }}
@@ -61,6 +62,8 @@ jobs:
override: true
components: rustfmt, clippy
+ - uses: Swatinem/rust-cache@v1
+
- name: Rustfmt
uses: actions-rs/cargo@v1
with:
