File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -172,6 +172,29 @@ jobs:
172172 # Let's not fail CI for this, it will fail locally often enough, and a crate a little bigger
173173 # than allows is no problem either if it comes to that.
174174 just check-size || true
175+
176+ lint-nightly :
177+ runs-on : ubuntu-latest
178+ continue-on-error : true
179+ steps :
180+ - uses : actions/checkout@v3
181+ - uses : dtolnay/rust-toolchain@master
182+ with :
183+ toolchain : nightly
184+ components : clippy,rustfmt
185+ - uses : extractions/setup-just@v1
186+ - name : Run cargo check -Zcheck-cfg
187+ if : ' !cancelled()'
188+ run : cargo check -Zcheck-cfg
189+ - name : Run cargo clippy
190+ if : ' !cancelled()'
191+ run : just clippy -D warnings
192+ - name : Run cargo doc
193+ if : ' !cancelled()'
194+ run : just doc
195+ - name : Run cargo fmt
196+ if : ' !cancelled()'
197+ run : cargo fmt --all -- --check
175198
176199 cargo-deny :
177200 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments