@@ -5,21 +5,21 @@ permissions:
5
5
on :
6
6
pull_request :
7
7
paths :
8
- - ' client/**'
9
- - ' proto/**'
10
- - ' Cargo.toml'
11
- - ' Cargo.lock'
12
- - ' .github/workflows/rust-*.yml'
8
+ - " client/**"
9
+ - " proto/**"
10
+ - " Cargo.toml"
11
+ - " Cargo.lock"
12
+ - " .github/workflows/rust-*.yml"
13
13
push :
14
14
branches :
15
15
- main
16
16
- release/*
17
17
paths :
18
- - ' client/**'
19
- - ' proto/**'
20
- - ' Cargo.toml'
21
- - ' Cargo.lock'
22
- - ' .github/workflows/rust-*.yml'
18
+ - " client/**"
19
+ - " proto/**"
20
+ - " Cargo.toml"
21
+ - " Cargo.lock"
22
+ - " .github/workflows/rust-*.yml"
23
23
24
24
jobs :
25
25
test :
@@ -75,22 +75,22 @@ jobs:
75
75
cd client/crates/types
76
76
# Check minimal build (just protobuf, no compression or grpc)
77
77
cargo check --no-default-features --verbose
78
-
78
+
79
79
- name : Check ev-types with only std
80
80
run : |
81
81
cd client/crates/types
82
82
cargo check --no-default-features --features std --verbose
83
-
83
+
84
84
- name : Check ev-types with compression only
85
85
run : |
86
86
cd client/crates/types
87
87
cargo check --no-default-features --features compression --verbose
88
-
88
+
89
89
- name : Check ev-types with grpc only
90
90
run : |
91
91
cd client/crates/types
92
92
cargo check --no-default-features --features grpc --verbose
93
-
93
+
94
94
- name : Check ev-types with default features
95
95
run : |
96
96
cd client/crates/types
@@ -116,14 +116,14 @@ jobs:
116
116
cd client/crates/types
117
117
# Test that the crate builds for an embedded target without std
118
118
cargo check --no-default-features --target thumbv7m-none-eabi --verbose
119
-
119
+
120
120
- name : Check no_std with alloc
121
121
run : |
122
122
cd client/crates/types
123
123
# Some embedded systems have alloc but not std
124
124
# This verifies we can use the crate with just alloc support
125
125
cargo check --no-default-features --target thumbv7m-none-eabi --verbose
126
-
126
+
127
127
- name : Build for wasm32 target (another no_std target)
128
128
run : |
129
129
rustup target add wasm32-unknown-unknown
0 commit comments