Add Update container step
All checks were successful
Build / Check format (push) Successful in 42s
Build / Lint pacwrap (push) Successful in 1m6s
Build / Build pacwrap (push) Successful in 1m23s

Since the Arch Linux OCI image can sometimes be out-of-sync, update the
keyring and base packages prior to installing the requisite packages.
This will hopefully ensure a cached container image can no longer
trigger a pipeline failure.
This commit is contained in:
Xavier Moffett 2024-11-16 23:19:03 -05:00
parent 293ebaa788
commit 1287f1eb60
Signed by: Sapphirus
GPG key ID: A6C061B2CEA1A7AC
2 changed files with 18 additions and 6 deletions

View file

@ -22,8 +22,10 @@ jobs:
toolchain:
- nightly
steps:
- name: Update container
run: pacman -Sy archlinux-keyring --noconfirm --needed && pacman -Su --noconfirm
- name: Install packages
run: pacman -Syu git nodejs rustup --noconfirm
run: pacman -S git nodejs rustup --noconfirm
- name: Checkout repository
uses: actions/checkout@v4
- name: Install toolchain
@ -42,8 +44,10 @@ jobs:
env:
PACWRAP_SCHEMA_BUILT: 0
steps:
- name: Update container
run: pacman -Sy archlinux-keyring --noconfirm --needed && pacman -Su --noconfirm
- name: Install packages
run: pacman -Syu base-devel bubblewrap busybox fakechroot fakeroot git nodejs rustup --noconfirm
run: pacman -S base-devel git nodejs rustup --noconfirm
- name: Checkout repository
uses: actions/checkout@v4
- name: Install toolchain
@ -62,8 +66,10 @@ jobs:
toolchain:
- stable
steps:
- name: Update container
run: pacman -Sy archlinux-keyring --noconfirm --needed && pacman -Su --noconfirm
- name: Install packages
run: pacman -Syu base-devel bubblewrap busybox fakechroot fakeroot git nodejs rustup --noconfirm
run: pacman -S base-devel bubblewrap busybox fakechroot fakeroot git nodejs rustup --noconfirm
- name: Checkout repository
uses: actions/checkout@v4
- name: Install toolchain

View file

@ -26,8 +26,10 @@ jobs:
toolchain:
- nightly
steps:
- name: Update container
run: pacman -Sy archlinux-keyring --noconfirm --needed && pacman -Su --noconfirm
- name: Install packages
run: pacman -Syu git nodejs rustup --noconfirm
run: pacman -S git nodejs rustup --noconfirm
- name: Checkout repository
uses: actions/checkout@v4
- name: Install toolchain
@ -46,8 +48,10 @@ jobs:
env:
PACWRAP_SCHEMA_BUILT: 0
steps:
- name: Update container
run: pacman -Sy archlinux-keyring --noconfirm --needed && pacman -Su --noconfirm
- name: Install packages
run: pacman -Syu base-devel bubblewrap busybox fakechroot fakeroot git nodejs rustup --noconfirm
run: pacman -S base-devel git nodejs rustup --noconfirm
- name: Checkout repository
uses: actions/checkout@v4
- name: Install toolchain
@ -66,8 +70,10 @@ jobs:
toolchain:
- stable
steps:
- name: Update container
run: pacman -Sy archlinux-keyring --noconfirm --needed && pacman -Su --noconfirm
- name: Install packages
run: pacman -Syu base-devel bubblewrap busybox fakechroot fakeroot git nodejs rustup --noconfirm
run: pacman -S base-devel bubblewrap busybox fakechroot fakeroot git nodejs rustup --noconfirm
- name: Checkout repository
uses: actions/checkout@v4
- name: Install toolchain