From 286e6aa0d0d036ceb7d1f67f9114c9fdf234e37b Mon Sep 17 00:00:00 2001 From: Ryan Johnson Date: Thu, 16 Feb 2023 19:48:55 -0800 Subject: [PATCH] Fix CI (#245) ## Description Attempting to fix the CI failures in #32 by switching to the stable toolchain. --- .github/workflows/ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 969a694..77b2cda 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,7 @@ jobs: steps: - uses: actions/checkout@v3 - - uses: dtolnay/rust-toolchain@nightly + - uses: dtolnay/rust-toolchain@stable with: components: clippy, rustfmt @@ -28,10 +28,10 @@ jobs: - name: Validate formatting run: cargo fmt --all -- --check - name: Validate documentation - run: cargo +stable doc --workspace --no-deps --all-features --document-private-items + run: cargo doc --workspace --no-deps --all-features --document-private-items - name: Run clippy lints - run: cargo +stable clippy --workspace --no-deps --all-features --all-targets -- -D warnings + run: cargo clippy --workspace --no-deps --all-features --all-targets -- -D warnings - name: Run tests - run: cargo +stable test --workspace --all-features --all-targets + run: cargo test --workspace --all-features --all-targets - name: Run valence_nbt tests without preserve_order feature - run: cargo +stable test -p valence_nbt --all-targets + run: cargo test -p valence_nbt --all-targets