Test out Swatinem's cache.
@@ -48,6 +48,9 @@ jobs:
profile: minimal
override: true
+ - name: restore cache
+ uses: Swatinem/rust-cache@v1
+
# Clippy packages in deeper-to-higher dependency order
- name: cargo clippy druid-shell
uses: actions-rs/cargo@v1
@@ -124,6 +127,9 @@ jobs:
profile: minimal
override: true
+ - name: restore cache
+ uses: Swatinem/rust-cache@v1
+
# Clippy packages in deeper-to-higher dependency order
- name: cargo clippy druid-shell
uses: actions-rs/cargo@v1
@@ -178,6 +184,9 @@ jobs:
profile: minimal
override: true
+ - name: restore cache
+ uses: Swatinem/rust-cache@v1
+
# Clippy wasm32 relevant packages in deeper-to-higher dependency order
- name: cargo clippy druid-shell (wasm)
uses: actions-rs/cargo@v1
@@ -273,6 +282,9 @@ jobs:
profile: minimal
override: true
+ - name: restore cache
+ uses: Swatinem/rust-cache@v1
+
# Test packages in deeper-to-higher dependency order
- name: cargo test druid-shell
uses: actions-rs/cargo@v1
@@ -320,6 +332,9 @@ jobs:
profile: minimal
override: true
+ - name: restore cache
+ uses: Swatinem/rust-cache@v1
+
- name: cargo test druid-shell
uses: actions-rs/cargo@v1
with:
@@ -355,6 +370,9 @@ jobs:
profile: minimal
override: true
+ - name: restore cache
+ uses: Swatinem/rust-cache@v1
+
# Doc packages in deeper-to-higher dependency order
- name: cargo doc druid-shell
uses: actions-rs/cargo@v1
@@ -401,6 +419,9 @@ jobs:
profile: minimal
override: true
+ - name: restore cache
+ uses: Swatinem/rust-cache@v1
+
- name: install mdbook
uses: actions-rs/cargo@v1
with:
