Skip to content

Commit ffeb92a

Browse files
authored
Update rust.yml
1 parent 7699d4d commit ffeb92a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/rust.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ jobs:
1010
- name: print rustc version
1111
run: |
1212
rustc --version
13-
- name: check code formatting
13+
- 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
1718
RUSTFLAGS="-A unused" cargo clippy -- -Dwarnings

0 commit comments

Comments
 (0)