From 5c9a6c973ce0fefe8b47bae928b37c0b53f00546 Mon Sep 17 00:00:00 2001 From: Ryan Date: Fri, 9 Sep 2022 22:35:24 -0700 Subject: [PATCH] Add --all-targets to actions --- .github/workflows/rust.yml | 4 ++-- examples/conway.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 607a09f..22cafbe 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -27,6 +27,6 @@ jobs: - name: Validate formatting on ${{ matrix.os }} run: cargo fmt --all -- --check - 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 }} - run: cargo +stable test --verbose --all-features + run: cargo +stable test --verbose --all-features --all-targets diff --git a/examples/conway.rs b/examples/conway.rs index 6585e26..0e9e20f 100644 --- a/examples/conway.rs +++ b/examples/conway.rs @@ -226,9 +226,9 @@ impl Config for Game { if sneaking != server.state.paused { server.state.paused = sneaking; client.play_sound( - ident!("minecraft:block.note_block.pling"), + ident!("block.note_block.pling"), SoundCategory::Block, - client.position().into(), + client.position(), 0.5f32, if sneaking { 0.5f32 } else { 1f32 }, );