Skip to content

Commit 4f6878e

Browse files
committed
ci: Update rust.yml
1 parent 9346c6a commit 4f6878e

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.github/workflows/rust.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,20 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- uses: actions/checkout@v6
15+
- name: Check features
16+
run: |
17+
cargo check --no-default-features
18+
cargo check --no-default-features --features wallet
1519
- name: Build
1620
run: cargo build
1721
- name: Test
18-
run: cargo test
22+
run: cargo test --no-fail-fast
23+
24+
lint:
25+
runs-on: ubuntu-latest
26+
steps:
27+
- uses: actions/checkout@v6
28+
- name: Rustfmt
29+
run: cargo fmt --all --check
30+
- name: Lint
31+
run: cargo clippy --all-targets --all-features -- -D warnings

0 commit comments

Comments
 (0)