File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7070 env :
7171 RUST_BACKTRACE : 1
7272
73- lints :
74- name : Lints
73+ clippy :
74+ name : Clippy
7575 runs-on : ubuntu-latest
7676 steps :
7777 - name : Checkout sources
@@ -82,15 +82,28 @@ jobs:
8282 - name : Install stable toolchain
8383 uses : dtolnay/rust-toolchain@stable
8484 with :
85- components : rustfmt, clippy
86-
87- - name : Run cargo fmt
88- run : cargo fmt --all --check
85+ components : clippy
8986
9087 - name : Run cargo clippy
91- if : always()
9288 run : cargo clippy --locked --all-features
9389
90+ rustfmt :
91+ name : Format
92+ runs-on : ubuntu-latest
93+ steps :
94+ - name : Checkout sources
95+ uses : actions/checkout@v6
96+ with :
97+ persist-credentials : false
98+
99+ - name : Install nightly toolchain
100+ uses : dtolnay/rust-toolchain@nightly
101+ with :
102+ components : rustfmt
103+
104+ - name : Check formatting
105+ run : cargo +nightly fmt-unstable --check
106+
94107 docs :
95108 name : Check for documentation errors
96109 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments