Fix tests: use default Arch mirrorlist, remove broken URL
Tests / tests (push) Failing after 38s

This commit is contained in:
2026-09-14 22:42:00 +10:00
parent e49b693a2c
commit 6fa23ac2e0
+1 -25
View File
@@ -24,31 +24,7 @@ jobs:
echo "═══════════════════════════════════════════════════════════════"
echo " Installing prerequisites"
echo "═══════════════════════════════════════════════════════════════"
pacman -Syu --noconfirm --needed pacman pacman-contrib curl gnupg shellcheck yamllint
echo "═══════════════════════════════════════════════════════════════"
echo " Setting up official repos (extra, multilib)"
echo "═══════════════════════════════════════════════════════════════"
printf "%s\n" \
"[options]" \
"Architecture = auto" \
"SigLevel = Required DatabaseOptional" \
"LocalFileSigLevel = Optional" \
"" \
"[core]" \
"Include = /etc/pacman.d/mirrorlist" \
"" \
"[extra]" \
"Include = /etc/pacman.d/mirrorlist" \
"" \
"[multilib]" \
"Include = /etc/pacman.d/mirrorlist" \
> /etc/pacman.conf
curl -fsSL "https://archlinux.org/mirrorlist/all/status/" \
| sed "s/^#Server/Server/" | head -20 > /etc/pacman.d/mirrorlist
pacman -Syu --noconfirm
pacman -Syu --noconfirm --needed shellcheck yamllint
echo "═══════════════════════════════════════════════════════════════"
echo " Setting up CachyOS repo"