mirror of
https://github.com/italicsjenga/valence.git
synced 2025-01-10 06:41:30 +11:00
Add --all-targets to actions
This commit is contained in:
parent
fdedf74d29
commit
5c9a6c973c
4
.github/workflows/rust.yml
vendored
4
.github/workflows/rust.yml
vendored
|
@ -27,6 +27,6 @@ jobs:
|
||||||
- name: Validate formatting on ${{ matrix.os }}
|
- name: Validate formatting on ${{ matrix.os }}
|
||||||
run: cargo fmt --all -- --check
|
run: cargo fmt --all -- --check
|
||||||
- name: Run clippy lints on ${{ matrix.os }}
|
- name: Run clippy lints on ${{ matrix.os }}
|
||||||
run: cargo +stable clippy --verbose --no-deps --all-features
|
run: cargo +stable clippy --verbose --no-deps --all-features --all-targets
|
||||||
- name: Run tests on ${{ matrix.os }}
|
- name: Run tests on ${{ matrix.os }}
|
||||||
run: cargo +stable test --verbose --all-features
|
run: cargo +stable test --verbose --all-features --all-targets
|
||||||
|
|
|
@ -226,9 +226,9 @@ impl Config for Game {
|
||||||
if sneaking != server.state.paused {
|
if sneaking != server.state.paused {
|
||||||
server.state.paused = sneaking;
|
server.state.paused = sneaking;
|
||||||
client.play_sound(
|
client.play_sound(
|
||||||
ident!("minecraft:block.note_block.pling"),
|
ident!("block.note_block.pling"),
|
||||||
SoundCategory::Block,
|
SoundCategory::Block,
|
||||||
client.position().into(),
|
client.position(),
|
||||||
0.5f32,
|
0.5f32,
|
||||||
if sneaking { 0.5f32 } else { 1f32 },
|
if sneaking { 0.5f32 } else { 1f32 },
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue