From a0eadb7326d1d2309ca629250d90680924c5ad41 Mon Sep 17 00:00:00 2001 From: Lachezar Lechev Date: Tue, 23 Jan 2024 10:20:22 +0200 Subject: [PATCH] fix(ci): if condition for matrix Signed-off-by: Lachezar Lechev --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3ed95fc..cc4b0ec 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -45,12 +45,12 @@ jobs: - uses: dtolnay/rust-toolchain@master with: toolchain: ${{ matrix.rust }} - - if: ${{ matrix.rust }} != '1.65' + - if: ${{ matrix.rust != '1.65' }} run: cargo build --all-features - - if: ${{ matrix.rust }} != '1.65' + - if: ${{ matrix.rust != '1.65' }} run: cargo test --all-features # embedded-hal-async has MSRV of 1.75, this is why we exclude `asynch` feature - - if: ${{ matrix.rust }} == '1.65' + - if: ${{ matrix.rust == '1.65' }} run: cargo build -F defmt-03 -F serde -F config-builder - - if: ${{ matrix.rust }} == '1.65' + - if: ${{ matrix.rust == '1.65' }} run: cargo test -F defmt-03 -F serde -F config-builder