Skip to content

Commit

Permalink
fix(ci): if condition for matrix
Browse files Browse the repository at this point in the history
Signed-off-by: Lachezar Lechev <[email protected]>
  • Loading branch information
elpiel committed Jan 23, 2024
1 parent 1cf250e commit a0eadb7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit a0eadb7

Please sign in to comment.