Skip to content

Commit d746f16

Browse files
author
tac0turtle
committed
yamllit
1 parent 960465d commit d746f16

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

.github/workflows/rust-test.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,21 @@ permissions:
55
on:
66
pull_request:
77
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"
1313
push:
1414
branches:
1515
- main
1616
- release/*
1717
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"
2323

2424
jobs:
2525
test:
@@ -75,22 +75,22 @@ jobs:
7575
cd client/crates/types
7676
# Check minimal build (just protobuf, no compression or grpc)
7777
cargo check --no-default-features --verbose
78-
78+
7979
- name: Check ev-types with only std
8080
run: |
8181
cd client/crates/types
8282
cargo check --no-default-features --features std --verbose
83-
83+
8484
- name: Check ev-types with compression only
8585
run: |
8686
cd client/crates/types
8787
cargo check --no-default-features --features compression --verbose
88-
88+
8989
- name: Check ev-types with grpc only
9090
run: |
9191
cd client/crates/types
9292
cargo check --no-default-features --features grpc --verbose
93-
93+
9494
- name: Check ev-types with default features
9595
run: |
9696
cd client/crates/types
@@ -116,14 +116,14 @@ jobs:
116116
cd client/crates/types
117117
# Test that the crate builds for an embedded target without std
118118
cargo check --no-default-features --target thumbv7m-none-eabi --verbose
119-
119+
120120
- name: Check no_std with alloc
121121
run: |
122122
cd client/crates/types
123123
# Some embedded systems have alloc but not std
124124
# This verifies we can use the crate with just alloc support
125125
cargo check --no-default-features --target thumbv7m-none-eabi --verbose
126-
126+
127127
- name: Build for wasm32 target (another no_std target)
128128
run: |
129129
rustup target add wasm32-unknown-unknown

0 commit comments

Comments
 (0)