## Description

Attempting to fix the CI failures in #32 by switching to the stable
toolchain.
This commit is contained in:
Ryan Johnson 2023-02-16 19:48:55 -08:00 committed by GitHub
parent 50018a52bf
commit 286e6aa0d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,7 +20,7 @@ jobs:
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@nightly - uses: dtolnay/rust-toolchain@stable
with: with:
components: clippy, rustfmt components: clippy, rustfmt
@ -28,10 +28,10 @@ jobs:
- name: Validate formatting - name: Validate formatting
run: cargo fmt --all -- --check run: cargo fmt --all -- --check
- name: Validate documentation - 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 - 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 - 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 - 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