Fix tests: correct CachyOS and chaotic-aur mirror URLs, install keyrings properly
Tests / tests (push) Failing after 18s
Tests / tests (push) Failing after 18s
This commit is contained in:
+18
-10
@@ -18,25 +18,33 @@ jobs:
|
|||||||
|
|
||||||
- name: Set up CachyOS repo
|
- name: Set up CachyOS repo
|
||||||
run: |
|
run: |
|
||||||
# Add CachyOS mirrorlist
|
# Import CachyOS key
|
||||||
printf '%s\n' \
|
pacman-key --recv-keys F3B607488DB35A47 --keyserver keyserver.ubuntu.com
|
||||||
'Server = https://mirror.cachyos.org/$repo/$arch' \
|
pacman-key --lsign-key F3B607488DB35A47
|
||||||
> /etc/pacman.d/cachyos-mirrorlist
|
|
||||||
|
# Install keyring and mirrorlist packages
|
||||||
|
pacman -U --noconfirm \
|
||||||
|
'https://mirror.cachyos.org/repo/x86_64/cachyos/cachyos-keyring-20240331-1-any.pkg.tar.zst' \
|
||||||
|
'https://mirror.cachyos.org/repo/x86_64/cachyos/cachyos-mirrorlist-27-1-any.pkg.tar.zst'
|
||||||
|
|
||||||
# Add CachyOS repo to pacman.conf
|
# Add CachyOS repo to pacman.conf
|
||||||
printf '\n[cachyos]\nSigLevel = Optional TrustAll\nInclude = /etc/pacman.d/cachyos-mirrorlist\n' \
|
printf '\n[cachyos]\nInclude = /etc/pacman.d/cachyos-mirrorlist\n' \
|
||||||
>> /etc/pacman.conf
|
>> /etc/pacman.conf
|
||||||
|
|
||||||
pacman -Syu --noconfirm
|
pacman -Syu --noconfirm
|
||||||
|
|
||||||
- name: Set up chaotic-aur repo
|
- name: Set up chaotic-aur repo
|
||||||
run: |
|
run: |
|
||||||
# Add chaotic-aur mirrorlist
|
# Import chaotic-aur key
|
||||||
printf '%s\n' \
|
pacman-key --recv-keys 3056513887B78A2F --keyserver keyserver.ubuntu.com
|
||||||
'Server = https://chaotic.archlinux.org/$repo/$arch' \
|
pacman-key --lsign-key 3056513887B78A2F
|
||||||
> /etc/pacman.d/chaotic-mirrorlist
|
|
||||||
|
|
||||||
printf '\n[chaotic-aur]\nSigLevel = Optional TrustAll\nInclude = /etc/pacman.d/chaotic-mirrorlist\n' \
|
# Install keyring and mirrorlist packages
|
||||||
|
pacman -U --noconfirm \
|
||||||
|
'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-keyring.pkg.tar.zst' \
|
||||||
|
'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-mirrorlist.pkg.tar.zst'
|
||||||
|
|
||||||
|
printf '\n[chaotic-aur]\nInclude = /etc/pacman.d/chaotic-mirrorlist\n' \
|
||||||
>> /etc/pacman.conf
|
>> /etc/pacman.conf
|
||||||
|
|
||||||
pacman -Syu --noconfirm
|
pacman -Syu --noconfirm
|
||||||
|
|||||||
Reference in New Issue
Block a user