From d9251366c3788de85ee5052e1f898264e0ce001f Mon Sep 17 00:00:00 2001 From: Luo Zhiaho Date: Tue, 8 Sep 2026 12:23:05 +0800 Subject: [PATCH 1/2] Update CI and `setup-tombi@v1.4` --- .github/workflows/ci.yml | 8 ++++---- Cargo.toml | 13 ++----------- tests/Cargo.toml | 5 +---- 3 files changed, 7 insertions(+), 19 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index eff410a..7cc8d5c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,8 +28,11 @@ jobs: - name: Check for typos uses: crate-ci/typos@v1.48.0 + - 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,7 +159,6 @@ 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 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, From d6688a49ba5ec773039c8654f8f01706a43bdf99 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 8 Sep 2026 04:55:56 +0000 Subject: [PATCH 2/2] Bump the minor-and-patch group across 1 directory with 2 updates Bumps the minor-and-patch group with 2 updates in the / directory: [crate-ci/typos](https://github.com/crate-ci/typos) and [cargo-bins/cargo-binstall](https://github.com/cargo-bins/cargo-binstall). Updates `crate-ci/typos` from 1.48.0 to 1.50.1 - [Release notes](https://github.com/crate-ci/typos/releases) - [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md) - [Commits](https://github.com/crate-ci/typos/compare/v1.48.0...v1.50.1) Updates `cargo-bins/cargo-binstall` from 1.21.1 to 1.22.0 - [Release notes](https://github.com/cargo-bins/cargo-binstall/releases) - [Changelog](https://github.com/cargo-bins/cargo-binstall/blob/main/release-plz.toml) - [Commits](https://github.com/cargo-bins/cargo-binstall/compare/v1.21.1...v1.22.0) --- updated-dependencies: - dependency-name: crate-ci/typos dependency-version: 1.50.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-and-patch - dependency-name: cargo-bins/cargo-binstall dependency-version: 1.22.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-and-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7cc8d5c..0f3da7b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,7 +26,7 @@ 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 @@ -161,7 +161,7 @@ jobs: cache-bin: false - 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}}'