diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ae2bad36..e84f0214 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,6 +29,12 @@ jobs: with: command: check args: --all-targets + + - name: Run cargo check feature atlas + uses: actions-rs/cargo@v1 + with: + command: check + args: --all-targets --features atlas # test: # name: Tests @@ -63,3 +69,4 @@ jobs: with: toolchain: stable - run: cargo build --examples + - run: cargo build --examples --features atlas diff --git a/.github/workflows/code_quality.yml b/.github/workflows/code_quality.yml index 4e24fdd5..166f9d9a 100644 --- a/.github/workflows/code_quality.yml +++ b/.github/workflows/code_quality.yml @@ -26,7 +26,7 @@ jobs: uses: actions-rs/cargo@v1 with: command: fmt - args: --all -- --check + args: --all -- --check clippy: name: Clippy @@ -50,3 +50,4 @@ jobs: with: command: clippy args: --no-deps -- -D warnings + \ No newline at end of file diff --git a/examples/helpers/camera.rs b/examples/helpers/camera.rs index 51edc2de..a6068e4c 100644 --- a/examples/helpers/camera.rs +++ b/examples/helpers/camera.rs @@ -1,6 +1,7 @@ use bevy::{input::Input, math::Vec3, prelude::*, render::camera::Camera}; // A simple camera system for moving and zooming the camera. +#[allow(dead_code)] pub fn movement( time: Res