From 0ba2dc23106a170897b6befe47ffb0068385791b Mon Sep 17 00:00:00 2001 From: Echo Date: Sun, 12 Apr 2026 15:03:22 +0000 Subject: [PATCH] Fix: Add libsystemd-dev and pkg-config to clippy, test, audit jobs --- .github/workflows/ci.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b3456dc..8e986eb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,6 +34,10 @@ jobs: - uses: actions/checkout@v2 with: fetch-depth: 0 + - name: Install system dependencies + run: | + apt-get update + apt-get install -y libsystemd-dev pkg-config - uses: dtolnay/rust-toolchain@stable with: components: clippy @@ -50,6 +54,10 @@ jobs: - uses: actions/checkout@v2 with: fetch-depth: 0 + - name: Install system dependencies + run: | + apt-get update + apt-get install -y libsystemd-dev pkg-config - uses: dtolnay/rust-toolchain@stable - name: Cache cargo uses: Swatinem/rust-cache@v2 @@ -67,6 +75,10 @@ jobs: - uses: actions/checkout@v2 with: fetch-depth: 0 + - name: Install system dependencies + run: | + apt-get update + apt-get install -y libsystemd-dev pkg-config - uses: dtolnay/rust-toolchain@stable - name: Run cargo-audit run: |