Ensure Arch Linux images are up to date in CI before running checks. (#9825)
Austin S. Hemmelgarn committed
Aug 27, 2020 at 07:03 UTC
f01cec0216d77b580a6b518ec1379cdb337d2d7f
2 files changed
+2
-2
.github/workflows/build-and-install.yml
+1
-1
@@ -59,7 +59,7 @@ jobs:
59
rmjsonc: 'apk del json-c-dev'
60
61
- distro: 'archlinux:latest'
62
- pre: 'pacman --noconfirm -Sy grep libffi'
62
+ pre: 'pacman --noconfirm -Syu && pacman --noconfirm -Sy grep libffi'
63
64
#- distro: 'centos:8'
65
#rmjsonc: 'dnf remove -y json-c-devel'
tests/updater_checks.sh
+1
-1
@@ -51,7 +51,7 @@ case "${running_os}" in
51
update-ca-certificates
52
;;
53
"arch")
54
- pacman -Sy
54
+ pacman --noconfirm -Syu
55
pacman --noconfirm --needed -S bash-bats curl libffi
56
;;
57
"alpine")