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 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",