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: |