File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change 17
17
components : clippy, rustfmt
18
18
targets : wasm32-unknown-unknown
19
19
20
+ - name : Cache Rust dependencies
21
+ uses : actions/cache@v4
22
+ with :
23
+ path : |
24
+ ~/.cargo/registry
25
+ ~/.cargo/git
26
+ target
27
+ key : ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
28
+ restore-keys : |
29
+ ${{ runner.os }}-cargo-
30
+
20
31
- name : Check Formatting
21
32
run : cargo fmt --all -- --check
22
33
37
48
with :
38
49
targets : wasm32-unknown-unknown
39
50
51
+ - name : Cache Rust dependencies
52
+ uses : actions/cache@v4
53
+ with :
54
+ path : |
55
+ ~/.cargo/registry
56
+ ~/.cargo/git
57
+ target
58
+ key : ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
59
+ restore-keys : |
60
+ ${{ runner.os }}-cargo-
61
+
40
62
- name : Check for errors
41
63
run : cargo check
42
64
You can’t perform that action at this time.
0 commit comments