From 981f684a5cf0e9c4eaab065e8a908d6361ceeacc Mon Sep 17 00:00:00 2001 From: Alice Ryhl Date: Sun, 5 May 2024 14:32:23 +0200 Subject: [PATCH] Update nightly CI version --- .cirrus.yml | 2 +- .github/workflows/ci.yml | 17 ++++++++++++++++- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index 8aea3efa74b..bdf3af74098 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -4,7 +4,7 @@ freebsd_instance: image_family: freebsd-14-0 env: RUST_STABLE: stable - RUST_NIGHTLY: nightly-2023-10-21 + RUST_NIGHTLY: nightly-2024-05-05 RUSTFLAGS: -D warnings # Test FreeBSD in a full VM on cirrus-ci.com. Test the i686 target too, in the diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4f5e9004959..0ee3f6ed189 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ env: RUST_BACKTRACE: 1 # Change to specific Rust release to pin rust_stable: stable - rust_nightly: nightly-2023-10-21 + rust_nightly: nightly-2024-05-05 rust_clippy: '1.77' # When updating this, also update: # - README.md @@ -995,6 +995,21 @@ jobs: run: cargo check-external-types --all-features working-directory: tokio + check-unexpected-lints-cfgs: + name: check unexpected lints and cfgs + needs: basics + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Install Rust ${{ env.rust_nightly }} + uses: dtolnay/rust-toolchain@master + with: + toolchain: ${{ env.rust_nightly }} + - name: check tokio + run: cargo check --all-features + env: + RUSTFLAGS: -Dwarnings --check-cfg=cfg(loom) --check-cfg=cfg(tokio_unstable) -Funexpected_cfgs -Funknown_lints + check-fuzzing: name: check-fuzzing needs: basics