From 45fde209f213f5d350cd4f7698d2fc2dca29c3fc Mon Sep 17 00:00:00 2001 From: Zeeshan Ali Khan Date: Mon, 17 Nov 2025 14:39:36 +0100 Subject: [PATCH 1/2] Forgotten change from 05f5f59f --- Cargo.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index e8c4aa3..2d445d0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -230,7 +230,7 @@ dependencies = [ [[package]] name = "firmware-controller" -version = "0.1.1" +version = "0.2.0" dependencies = [ "embassy-executor", "embassy-sync", From e94b168895cbe43684bab07a6a74db8601e31499 Mon Sep 17 00:00:00 2001 From: Zeeshan Ali Khan Date: Mon, 17 Nov 2025 14:41:52 +0100 Subject: [PATCH 2/2] CI: Run cargo with --locked So that we don't end up forgetting to commit required changes to `Cargo.lock` file in the future, like we did in 05f5f59f. --- .github/workflows/rust.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/rust.yaml b/.github/workflows/rust.yaml index f076f59..f0aae8f 100644 --- a/.github/workflows/rust.yaml +++ b/.github/workflows/rust.yaml @@ -18,7 +18,7 @@ jobs: with: toolchain: stable - name: Test - run: cargo test + run: cargo --locked test fmt: runs-on: ubuntu-latest @@ -29,7 +29,7 @@ jobs: toolchain: nightly components: rustfmt - name: Check formatting - run: cargo fmt -- --check + run: cargo --locked fmt -- --check clippy: runs-on: ubuntu-latest @@ -40,4 +40,4 @@ jobs: toolchain: stable components: clippy - name: Catch common mistakes - run: cargo clippy -- -D warnings + run: cargo --locked clippy -- -D warnings