Skip to content

Commit

Permalink
Add nightly linting CI jobs for -Zcheck-cfg and advance notice
Browse files Browse the repository at this point in the history
  • Loading branch information
Urgau committed Nov 19, 2023
1 parent be4de0d commit 6c0f7e9
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,29 @@ 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
if: '!cancelled()'
run: cargo check -Zcheck-cfg
- name: Run cargo clippy
if: '!cancelled()'
run: just clippy -D warnings
- name: Run cargo doc
if: '!cancelled()'
run: just doc
- name: Run cargo fmt
if: '!cancelled()'
run: cargo fmt --all -- --check

cargo-deny:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 6c0f7e9

Please sign in to comment.