mirror of
https://github.com/italicsjenga/valence.git
synced 2024-12-23 14:31:30 +11:00
Fix CI (#245)
## Description Attempting to fix the CI failures in #32 by switching to the stable toolchain.
This commit is contained in:
parent
50018a52bf
commit
286e6aa0d0
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue