Refresh apt package lists before bootstrap installs anything (closes #12)
check / check (push) Successful in 2m23s

The CI job image ships with empty apt package lists, so the bootstrap's
`apt-get install -y golang` could not find the package and every CI run
stopped there. On the apt path the bootstrap now runs `apt-get update`
once, before the first install, and not at all when nothing needs
installing.

Model: opus-5-5
This commit was merged in pull request #14.
This commit is contained in:
2026-10-03 15:09:39 +02:00
parent bce8bdbb2e
commit 66fb8bf149
+3
View File
@@ -31,6 +31,9 @@ detect_pkgmgr() {
if [ "$(id -u)" != "0" ]; then if [ "$(id -u)" != "0" ]; then
SUDO="sudo" SUDO="sudo"
fi fi
# Fresh images, the CI runner's among them, ship with empty
# package lists. This runs once, on the first install.
$SUDO env DEBIAN_FRONTEND=noninteractive apt-get update
fi fi
} }