@@ -38,13 +38,12 @@ jobs:
38
38
with :
39
39
persist-credentials : false
40
40
41
- - name : Setup Rust with Cache
41
+ - name : Setup Rust
42
42
uses : actions-rust-lang/setup-rust-toolchain@11df97af8e8102fd60b60a77dfbf58d40cd843b8 # v1.10.1
43
43
with :
44
44
toolchain : ${{ needs.setup.outputs.rust-toolchain }}
45
45
target : x86_64-pc-windows-gnu,x86_64-unknown-linux-gnu
46
- cache : true
47
- cache-key : cargo-hack-native-${{ needs.setup.outputs.rust-toolchain }}-${{ hashFiles('**/Cargo.lock') }}
46
+ cache : false
48
47
49
48
- name : Install cargo-hack
50
49
uses : taiki-e/install-action@2383334cf567d78771fc7d89b6b3802ef1412cf6 # v2.56.8
@@ -66,54 +65,49 @@ jobs:
66
65
--target x86_64-pc-windows-gnu \
67
66
--target x86_64-unknown-linux-gnu
68
67
69
- # WASM targets - separate cache since dependencies differ
68
+ # WASM targets - No caching needed as it runs in parallel with longer jobs
70
69
wasm-targets :
71
- name : ${{ matrix.name }}
70
+ name : WASM targets
72
71
runs-on : ubuntu-latest
73
72
needs : setup
74
- strategy :
75
- fail-fast : false
76
- matrix :
77
- include :
78
- - name : " Clarity & Stacks-Common WASM Web"
79
- command : |
80
- cargo hack check \
81
- -p clarity-serialization \
82
- -p stacks-common \
83
- --each-feature \
84
- --no-dev-deps \
85
- --exclude-features=default,rusqlite,ctrlc-handler,wasm-deterministic \
86
- --features=wasm-web
87
-
88
- - name : " Clarity & Stacks-Common WASM Deterministic"
89
- command : |
90
- cargo hack check \
91
- -p clarity-serialization \
92
- -p stacks-common \
93
- --each-feature \
94
- --no-dev-deps \
95
- --include-features=wasm-deterministic,slog_json \
96
- --features=wasm-deterministic
97
-
98
73
steps :
99
74
- name : Checkout
100
75
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
101
76
with :
102
77
persist-credentials : false
103
78
104
- - name : Setup Rust with Cache
79
+ - name : Setup Rust
105
80
uses : actions-rust-lang/setup-rust-toolchain@11df97af8e8102fd60b60a77dfbf58d40cd843b8 # v1.10.1
106
81
with :
107
82
toolchain : ${{ needs.setup.outputs.rust-toolchain }}
108
83
target : wasm32-unknown-unknown
109
- cache : true
110
- cache-key : cargo-hack-wasm-${{ matrix.name }}-${{ needs.setup.outputs.rust-toolchain }}-${{ hashFiles('**/Cargo.lock') }}
84
+ cache : false
111
85
112
86
- name : Install cargo-hack
113
87
uses : taiki-e/install-action@2383334cf567d78771fc7d89b6b3802ef1412cf6 # v2.56.8
114
88
with :
115
89
tool : cargo-hack
116
90
91
+ - name : Run cargo hack check (WASM Web)
92
+ run : |
93
+ cargo hack check \
94
+ -p clarity-serialization \
95
+ -p stacks-common \
96
+ --each-feature \
97
+ --no-dev-deps \
98
+ --exclude-features=default,rusqlite,ctrlc-handler,wasm-deterministic \
99
+ --features=wasm-web
100
+
101
+ - name : Run cargo hack check (WASM Deterministic)
102
+ run : |
103
+ cargo hack check \
104
+ -p clarity-serialization \
105
+ -p stacks-common \
106
+ --each-feature \
107
+ --no-dev-deps \
108
+ --include-features=wasm-deterministic,slog_json \
109
+ --features=wasm-deterministic
110
+
117
111
- name : Run cargo hack check
118
112
run : ${{ matrix.command }}
119
113
@@ -130,6 +124,7 @@ jobs:
130
124
uses : actions-rust-lang/setup-rust-toolchain@fb51252c7ba57d633bc668f941da052e410add48 # v1.13.0
131
125
with :
132
126
toolchain : nightly
127
+ cache : false
133
128
134
129
- name : Check fuzz targets
135
130
run : |
0 commit comments