From 5b6a40ab59db55d75a2ab90b1f4ef70d6af4b677 Mon Sep 17 00:00:00 2001 From: Paris DOUADY Date: Sun, 10 Dec 2023 01:02:47 +0100 Subject: [PATCH] fix networking example --- .github/workflows/rust-build.yml | 4 ++-- networking/examples/example.rs | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/rust-build.yml b/.github/workflows/rust-build.yml index c7ea11c7..1cea9c50 100644 --- a/.github/workflows/rust-build.yml +++ b/.github/workflows/rust-build.yml @@ -29,6 +29,6 @@ jobs: with: rust-version: 'stable' - name: Check - run: cargo check --verbose --workspace + run: cargo check --verbose --workspace --tests --examples --all-features - name: Run tests - run: cargo test --verbose --workspace + run: cargo test --verbose --workspace --all-features diff --git a/networking/examples/example.rs b/networking/examples/example.rs index a2aad4c8..c6482a09 100644 --- a/networking/examples/example.rs +++ b/networking/examples/example.rs @@ -9,9 +9,9 @@ use Action::*; #[derive(Clone, Serialize, Deserialize, Debug)] struct World { - incr_a: u32, - incr_b: u32, - tick: u32, + incr_a: u64, + incr_b: u64, + tick: u64, pad: Vec, }