Skip to content

Commit c101737

Browse files
committed
Build and test with default, no and all features
1 parent c1afd6a commit c101737

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/rust.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,18 @@ jobs:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- uses: actions/checkout@v4
21-
- name: Build
21+
- name: Build (default features)
2222
run: cargo build
23-
- name: Run Tests
23+
- name: Build (no features)
24+
run: cargo build --no-default-features
25+
- name: Build (all features)
26+
run: cargo build --all-features
27+
- name: Run Tests (default features)
2428
run: cargo test
29+
- name: Run Tests (no features)
30+
run: cargo test --no-default-features
31+
- name: Run Tests (all features)
32+
run: cargo test --all-features
2533

2634
clippy:
2735
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)