Add the installation of latest archlinux-keyring to CI

.gitlab-ci.yml:
Install the latest archlinux-keyring before installing anything else.
This is to make sure to not run into outdated keys upon updating, which
is a problem because we can currently not even ensure a keyring that is
valid longer than one month...
https://gitlab.archlinux.org/archlinux/archlinux-keyring/-/issues/4
This commit is contained in:
David Runge 2022-01-29 17:13:24 +01:00
parent 720516e6fd
commit 6c1b4663d9
No known key found for this signature in database
GPG key ID: 7258734B41C31549

View file

@ -22,6 +22,11 @@ stages:
check:
before_script:
# NOTE: Install latest archlinux-keyring before upgrading system. In the
# future this should not be needed anymore when we can guarantee a valid
# keyring for longer:
# https://gitlab.archlinux.org/archlinux/archlinux-keyring/-/issues/4
- pacman -Sy --needed --noconfirm archlinux-keyring
- pacman --noconfirm -Syu --needed make shellcheck
script:
- make check