From 1e9638ac6135a5f409a5c63ce49dccf1c8d223b6 Mon Sep 17 00:00:00 2001 From: Ilya Zlobintsev Date: Sat, 24 Oct 2026 12:00:04 +0300 Subject: [PATCH] chore: replace cache-apt-pkgs with plain apt install (#1236) --- .github/actions/setup-environment/action.yml | 12 ++++++------ .github/workflows/rust.yml | 5 ----- 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/.github/actions/setup-environment/action.yml b/.github/actions/setup-environment/action.yml index acd1117d..f952915f 100644 --- a/.github/actions/setup-environment/action.yml +++ b/.github/actions/setup-environment/action.yml @@ -4,17 +4,17 @@ runs: using: composite steps: - name: Install dependencies - uses: awalsh128/cache-apt-pkgs-action@latest - with: - packages: libgtk-4-dev pkg-config libvulkan-dev libdrm-dev curl fuse3 libfuse-dev libadwaita-1-dev libdisplay-info-dev - version: 1.1 + run: | + sudo apt-get update + sudo apt-get install -y libgtk-4-dev pkg-config libvulkan-dev libdrm-dev curl fuse3 libfuse-dev libadwaita-1-dev libdisplay-info-dev clang + shell: bash - name: Update pci.ids run: sudo curl -o /usr/share/hwdata/pci.ids https://pci-ids.ucw.cz/v2.2/pci.ids shell: bash - - uses: Swatinem/rust-cache@v2 + - uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2 with: cache-targets: false - name: Run sccache-cache - uses: mozilla-actions/sccache-action@v0.0.11 + uses: mozilla-actions/sccache-action@fc920bf0ec8de6ee65d409111f7ec508035751ba # v0.0.11 with: version: "v0.10.0" diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 41c35e7a..8eee5262 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -65,11 +65,6 @@ jobs: steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 - uses: ./.github/actions/setup-environment - - name: Install clang - uses: awalsh128/cache-apt-pkgs-action@latest - with: - packages: clang clang++ - version: 1.0 - name: Install cargo-llvm-cov from crates.io uses: baptiste0928/cargo-install@v3 with: