diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index c0319a4b..b953f4dc 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -20,6 +20,11 @@ jobs: steps: - uses: actions/checkout@v3 + - if: ${{ matrix.os == ubuntu-latest }} + uses: awalsh128/cache-apt-pkgs-action@latest + with: + packages: libssl-dev pkg-config libasound2-dev + version: latest - uses: Swatinem/rust-cache@v2.7.0 - name: Versions run: cargo --version && rustc --version && cargo fmt -- --version && cargo clippy -- --version @@ -40,6 +45,11 @@ jobs: steps: - uses: actions/checkout@v3 + - if: ${{ matrix.os == ubuntu-latest }} + uses: awalsh128/cache-apt-pkgs-action@latest + with: + packages: libssl-dev pkg-config libasound2-dev + version: latest - uses: Swatinem/rust-cache@v2.7.0 - name: Versions run: cargo --version && rustc --version && cargo fmt -- --version && cargo clippy -- --version