diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index eff410a..0f3da7b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,10 +26,13 @@ jobs: - uses: actions/checkout@v7.0.1 - name: Check for typos - uses: crate-ci/typos@v1.48.0 + uses: crate-ci/typos@v1.50.1 + + - name: Check formatting + run: cargo fmt --all -- --check - name: Install tombi - uses: tombi-toml/setup-tombi@v1.2.4 + uses: tombi-toml/setup-tombi@v1.4 - name: Check for tombi run: tombi lint --error-on-warnings; tombi format --check --diff @@ -68,7 +71,6 @@ jobs: key: build-${{ matrix.os }}-${{ env.CACHE_SUFFIX }} env-vars: ImageVersion cache-bin: false - save-if: ${{ github.ref == 'refs/heads/master' }} - name: Clippy no features run: cargo clippy --workspace --all-targets --no-default-features -- -Dwarnings @@ -117,7 +119,6 @@ jobs: key: build-wasm-${{ matrix.os }}-${{ env.CACHE_SUFFIX }} env-vars: ImageVersion cache-bin: false - save-if: ${{ github.ref == 'refs/heads/master' }} - name: Clippy no features run: cargo clippy --workspace --all-targets --no-default-features -- -Dwarnings @@ -158,10 +159,9 @@ jobs: key: build-android-${{ matrix.os }}-${{ env.CACHE_SUFFIX }} env-vars: ImageVersion cache-bin: false - save-if: ${{ github.ref == 'refs/heads/master' }} - name: Install cargo-binstall - uses: cargo-bins/cargo-binstall@v1.21.1 + uses: cargo-bins/cargo-binstall@v1.22.0 - name: Install Android NDK run: ${ANDROID_HOME}/cmdline-tools/latest/bin/sdkmanager 'ndk;${{env.ANDROID_NDK_VERSION}}' diff --git a/Cargo.toml b/Cargo.toml index 596de73..00ba2e1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,17 +23,8 @@ rustdoc-args = ["--cfg", "docsrs"] members = ["derive", "tests"] [dependencies] -const_shader_layout_derive = { - path = "./derive", - version = "0.2.1", - optional = true -} -glam = { - version = "0.33", - default-features = false, - features = ["i16", "i32", "u16", "u32"], - optional = true -} +const_shader_layout_derive = { path = "./derive", version = "0.2.1", optional = true } +glam = { version = "0.33", default-features = false, features = ["i16", "i32", "u16", "u32"], optional = true } half = { version = "2", default-features = false, optional = true } [features] diff --git a/tests/Cargo.toml b/tests/Cargo.toml index 6bcb53c..d3e4279 100644 --- a/tests/Cargo.toml +++ b/tests/Cargo.toml @@ -8,10 +8,7 @@ harness = false name = "ui" [dependencies] -const_shader_layout = { - path = "..", - features = ["derive", "glam", "half", "std"] -} +const_shader_layout = { path = "..", features = ["derive", "glam", "half", "std"] } glam = { version = "0.33", default-features = false,