From e92da1a04a7aee9c13b2606d41fa560e992903e2 Mon Sep 17 00:00:00 2001 From: Sergio Ribera <56278796+SergioRibera@users.noreply.github.com> Date: Tue, 18 Jun 2024 03:43:03 -0400 Subject: [PATCH] ci: fix deps on clippy --- .github/workflows/checks.yml | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 1c818be..50d6981 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -31,6 +31,10 @@ jobs: uses: actions/checkout@v3 - uses: Swatinem/rust-cache@v2 - uses: dsherret/rust-toolchain-file@v1 + - name: Install Dependencies + run: | + sudo apt-get update + sudo apt-get install -y libdbus-1-dev pkg-config - name: Run clippy uses: actions-rs/cargo@v1.0.1 with: @@ -59,16 +63,16 @@ jobs: runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v4 - - uses: dtolnay/rust-toolchain@stable - - uses: Swatinem/rust-cache@v2 - - name: Install Dependencies - if: ${{ runner.os == 'Linux' }} - run: | - sudo apt-get update - sudo apt-get install -y libdbus-1-dev pkg-config - - name: Build - run: cargo build --release --all-targets --verbose - - name: Build zbus - if: ${{ runner.os == 'Linux' }} - run: cargo build --release --all-targets --verbose --no-default-features --features=use_zbus + - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@stable + - uses: Swatinem/rust-cache@v2 + - name: Install Dependencies + if: ${{ runner.os == 'Linux' }} + run: | + sudo apt-get update + sudo apt-get install -y libdbus-1-dev pkg-config + - name: Build + run: cargo build --release --all-targets --verbose + - name: Build zbus + if: ${{ runner.os == 'Linux' }} + run: cargo build --release --all-targets --verbose --no-default-features --features=use_zbus