From ea52bdb5a214b628dd3130ab750434fddb32d4b0 Mon Sep 17 00:00:00 2001 From: limuy Date: Sun, 30 Jun 2024 08:39:26 +0800 Subject: [PATCH] ci:fix ci --- .github/workflows/rust_linux.yml | 4 ++-- .github/workflows/rust_macos.yml | 4 ++-- .github/workflows/rust_windows.yml | 4 ++-- gdrust/src/player.rs | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/rust_linux.yml b/.github/workflows/rust_linux.yml index 259ff74..35c9b0d 100644 --- a/.github/workflows/rust_linux.yml +++ b/.github/workflows/rust_linux.yml @@ -22,8 +22,8 @@ jobs: - name: Build Release run: cd gdrust && cargo build --package proto --features protobuf_feature --all --release - name: Run tests Debug - run: cd gdrust && cargo test --all + run: cd gdrust && cargo test --package proto --features protobuf_feature --all - name: Run tests Release - run: cd gdrust && cargo test --all --release + run: cd gdrust && cargo test --package proto --features protobuf_feature --all --release - name: Check Fmt run: cd gdrust && cargo fmt -- --check diff --git a/.github/workflows/rust_macos.yml b/.github/workflows/rust_macos.yml index 2b6c337..5b190d2 100644 --- a/.github/workflows/rust_macos.yml +++ b/.github/workflows/rust_macos.yml @@ -22,6 +22,6 @@ jobs: - name: Build Release run: cd gdrust && cargo build --package proto --features protobuf_feature --all --release - name: Run tests Debug - run: cd gdrust && cargo test --all + run: cd gdrust && cargo test --package proto --features protobuf_feature --all - name: Run tests Release - run: cd gdrust && cargo test --all --release + run: cd gdrust && cargo test --package proto --features protobuf_feature --all --release diff --git a/.github/workflows/rust_windows.yml b/.github/workflows/rust_windows.yml index 311acd6..da3ea3b 100644 --- a/.github/workflows/rust_windows.yml +++ b/.github/workflows/rust_windows.yml @@ -22,6 +22,6 @@ jobs: - name: Build Release run: cd gdrust && cargo build --package proto --features protobuf_feature --all --release - name: Run tests Debug - run: cd gdrust && cargo test --all + run: cd gdrust && cargo test --package proto --features protobuf_feature --all - name: Run tests Release - run: cd gdrust && cargo test --release --all + run: cd gdrust && cargo test --package proto --features protobuf_feature --release --all diff --git a/gdrust/src/player.rs b/gdrust/src/player.rs index 8087fb9..f96f2d2 100644 --- a/gdrust/src/player.rs +++ b/gdrust/src/player.rs @@ -235,8 +235,8 @@ impl Player { self.base().get_node_as("Shield") } - const GENERAL_HIDE:&'static str = "general_hide"; - const SHOW_WRAPPER:&'static str = "show_wrapper"; + const GENERAL_HIDE: &'static str = "general_hide"; + const SHOW_WRAPPER: &'static str = "show_wrapper"; #[debug] fn check_method(&self) {