Skip to content

Commit d1acbaf

Browse files
authored
Update rust.yml
* Update rust.yml * Update rust.yml * Update rust.yml
1 parent 9c7d5d2 commit d1acbaf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/rust.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,10 @@ jobs:
1212
rustc --version
1313
- name: check code formatting
1414
run: |
15+
rustup component add --toolchain nightly-x86_64-unknown-linux-gnu rustfmt
1516
cd rust
1617
cargo fmt -- --check
18+
rustup component add --toolchain nightly-x86_64-unknown-linux-gnu clippy
1719
RUSTFLAGS="-A unused" cargo clippy -- -Dwarnings
1820
cargo clippy --tests
1921
- name: compile and test

0 commit comments

Comments
 (0)