Fix tests: use default Arch mirrorlist, remove broken URL

This commit is contained in:
2026-09-15 15:37:41 +10:00
committed by alvinlollo
parent fbb30d3e19
commit 8e0c7a96ce
+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"