Fix tests: use default Arch mirrorlist, remove broken URL
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user