Skip to content

Commit 9d618fb

Browse files
wprzytulamuzarski
authored andcommitted
rust.yml: reorder and comment feature checks
The number of feature checks keeps increasing, so we need to impose some order on them or else we will regret.
1 parent a8de364 commit 9d618fb

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/rust.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,19 @@ jobs:
4141
run: cargo clippy --verbose --all-targets --all-features
4242
- name: Cargo check with cpp_rust_unstable cfg
4343
run: RUSTFLAGS="--cfg cpp_rust_unstable" cargo clippy --verbose --all-targets --all-features
44+
45+
# Features checks.
46+
# No features.
4447
- name: Cargo check without features
4548
run: cargo check --all-targets --manifest-path "scylla/Cargo.toml" --features ""
46-
- name: Cargo check with all serialization features
47-
run: cargo check --all-targets --manifest-path "scylla/Cargo.toml" --features "full-serialization"
49+
50+
# All features.
4851
- name: Cargo check with all features
4952
run: cargo check --all-targets --manifest-path "scylla/Cargo.toml" --all-features
53+
54+
# Various (de)serialization features.
55+
- name: Cargo check with all serialization features
56+
run: cargo check --all-targets --manifest-path "scylla/Cargo.toml" --features "full-serialization"
5057
- name: Cargo check with secrecy-08 feature
5158
run: cargo check --all-targets --manifest-path "scylla/Cargo.toml" --features "secrecy-08"
5259
- name: Cargo check with chrono-04 feature

0 commit comments

Comments
 (0)