Add Github Actions cache
@@ -23,6 +23,7 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
+ - uses: Swatinem/rust-cache@v2
- name: Run cargo test
uses: actions-rs/cargo@v1
with:
@@ -36,6 +37,7 @@ jobs:
with:
toolchain: stable
components: clippy
+ - uses: Swatinem/rust-cache@v2
- name: Run cargo fmt (check if all code is rustfmt-ed)
uses: actions-rs/cargo@v1
with:
