diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 421467d0b9b..74cb6e3b60d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -172,6 +172,25 @@ jobs: # Let's not fail CI for this, it will fail locally often enough, and a crate a little bigger # than allows is no problem either if it comes to that. just check-size || true + + lint-nightly: + runs-on: ubuntu-latest + continue-on-error: true + steps: + - uses: actions/checkout@v3 + - uses: dtolnay/rust-toolchain@master + with: + toolchain: nightly + components: clippy,rustfmt + - uses: extractions/setup-just@v1 + - name: Run cargo check -Zcheck-cfg + run: cargo check -Zcheck-cfg + - name: Run cargo clippy + run: just clippy -D warnings + - name: Run cargo doc + run: just doc + - name: Run cargo fmt + run: cargo fmt --all -- --check cargo-deny: runs-on: ubuntu-latest