diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 44b01c3..dde4f5c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,6 +28,11 @@ jobs: RUST_BACKTRACE: "1" steps: - uses: actions/checkout@v4 + + - uses: awalsh128/cache-apt-pkgs-action@v1 + with: + packages: libgtk-3-dev libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf + version: 1.0 - uses: dtolnay/rust-toolchain@stable @@ -35,11 +40,6 @@ jobs: with: workspaces: "src-tauri" - - name: install dependencies - run: | - sudo apt-get update - sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf - - name: run tests run: cd src-tauri && cargo test