Skip to content

Commit f70f180

Browse files
authored
Merge branch 'main' into agent/restore-gateway-auth-setting-on-autostart
2 parents b61678c + e470943 commit f70f180

1 file changed

Lines changed: 16 additions & 4 deletions

File tree

.github/actions/install-linux-deps/action.yml

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,30 @@ runs:
1313
using: composite
1414
steps:
1515
# Cache apt packages to avoid re-downloading on every run
16+
# The runner image ships an apt index from its build date, and
17+
# cache-apt-pkgs-action's own refresh (update_apt_lists_if_stale) is a
18+
# no-op outside nektos/act -- it guards on ACT=true. A stale index names
19+
# .debs that Ubuntu has since superseded and dropped from the pool, so the
20+
# install 404s; the action then caches the empty result instead of failing,
21+
# and every later run restores that as a hit and skips installing at all.
22+
- name: Refresh apt lists
23+
shell: bash
24+
run: sudo apt-get update
25+
26+
# Pinned to a SHA: `@latest` is a moving tag, so a broken upstream release
27+
# (e.g. v1.6.2) would otherwise roll straight into CI unreviewed.
1628
- name: Cache apt packages (base)
17-
uses: awalsh128/cache-apt-pkgs-action@latest
29+
uses: awalsh128/cache-apt-pkgs-action@553a35bb8ebd9fcabcb1c9451aa4c98e1b4ca8a9 # v1.6.3
1830
with:
1931
packages: build-essential pkg-config libglib2.0-dev libgtk-3-dev libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf libsecret-1-dev libfuse2
20-
version: 1.1
32+
version: 1.2
2133

2234
- name: Cache apt packages (E2E)
2335
if: ${{ inputs.e2e == 'true' }}
24-
uses: awalsh128/cache-apt-pkgs-action@latest
36+
uses: awalsh128/cache-apt-pkgs-action@553a35bb8ebd9fcabcb1c9451aa4c98e1b4ca8a9 # v1.6.3
2537
with:
2638
packages: webkit2gtk-driver xvfb gnome-keyring gsettings-desktop-schemas dbus-x11 at-spi2-core libglib2.0-bin libwayland-server0 libwayland-client0
27-
version: 1.3
39+
version: 1.4
2840

2941
# Compile gsettings schemas (required after restore from cache)
3042
- name: Compile gsettings schemas

0 commit comments

Comments
 (0)