Skip to content

Commit

Permalink
ci: fix deps on clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioRibera committed Jun 18, 2024
1 parent 66ea3af commit e92da1a
Showing 1 changed file with 17 additions and 13 deletions.
30 changes: 17 additions & 13 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
with:
Expand Down Expand Up @@ -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

0 comments on commit e92da1a

Please sign in to comment.