Only one Linux build, more caching
@@ -15,7 +15,6 @@ jobs:
strategy:
matrix:
os:
- - ubuntu-20.04
- ubuntu-latest
- windows-latest
- macos-latest
@@ -107,6 +106,9 @@ jobs:
override: true
target: thumbv7m-none-eabi
+ - name: Cache Dependencies
+ uses: Swatinem/rust-cache@v1.2.0
+
- name: Run cargo test
uses: actions-rs/cargo@v1
with:
@@ -161,6 +163,9 @@ jobs:
- name: Install clippy
run: rustup component add clippy
+ - name: Cache Dependencies
+ uses: Swatinem/rust-cache@v1.2.0
+
- name: Run cargo clippy
uses: actions-rs/clippy-check@v1
with:
