From 8a20aab0c16336c7c7fa9900255b2bb15d749f45 Mon Sep 17 00:00:00 2001 From: Esteban Zimanyi Date: Sun, 17 May 2026 15:31:15 +0200 Subject: [PATCH] Fix Test PyMEOS apt step: pin cache-apt-pkgs-action and correct PG dev package The Get dependencies from apt step used the floating @latest tag of awalsh128/cache-apt-pkgs-action. That tag now resolves to a release whose composite action changed the argument contract and defaults empty_packages_behavior to error, so the workflow's package list was read through the wrong slot and the action exited with a resolution error, failing every ubuntu job before any test runs. Pin to v1.4.3, the last release with the original argument contract this workflow was written against, so the package list is read correctly. Also correct the PostgreSQL dev package. The list requested postgresql-server-dev-14, which does not exist in the ubuntu-latest runner's apt suite (now ubuntu-24.04 / noble, where the package is unavailable). Under v1.4.3 the unresolvable name is silently dropped from the install set (7 requested, only 6 installed), so the apt step appears to succeed while never installing the PostgreSQL headers. Use postgresql-server-dev-16, which exists in noble (universe), the PostgreSQL version shipped on the current runner image. --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fc95eb68..ff16958a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -35,10 +35,10 @@ jobs: uses: actions/checkout@v4 - name: Get dependencies from apt (cache) - uses: awalsh128/cache-apt-pkgs-action@latest + uses: awalsh128/cache-apt-pkgs-action@v1.4.3 if: runner.os == 'Linux' with: - packages: build-essential cmake postgresql-server-dev-14 libproj-dev libjson-c-dev libgsl-dev libgeos-dev + packages: build-essential cmake postgresql-server-dev-16 libproj-dev libjson-c-dev libgsl-dev libgeos-dev version: 1.0 - name: Get dependencies from homebrew (cache)