Skip to content

Commit fe1009e

Browse files
committed
chore: check formatting and clippy in build
1 parent 0d3962e commit fe1009e

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/pr.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,8 @@ jobs:
1919
- run: . $HOME/.cargo/env && rustup update
2020
- run: . $HOME/.cargo/env && cargo build --release --all
2121
- run: . $HOME/.cargo/env && cargo test
22+
- name: Check formatting
23+
run: . $HOME/.cargo/env && cargo fmt --all -- --check
24+
- name: Check clippy lints
25+
run: . $HOME/.cargo/env && cargo clippy --all-targets --all-features -- -D warnings
2226
- run: test_app/scripts/validate-against-expected.sh

0 commit comments

Comments
 (0)