From 2e0e090c33fb9bb7b731c9ce63356d599dd69d01 Mon Sep 17 00:00:00 2001 From: cat Date: Thu, 19 Feb 2026 19:17:38 +0300 Subject: [PATCH] compile yay and install package from aur --- .forgejo/workflows/test.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml index 6e89df8..e1c4c83 100644 --- a/.forgejo/workflows/test.yml +++ b/.forgejo/workflows/test.yml @@ -1,4 +1,4 @@ -name: compile yay +name: compile yay and install package from aur on: push: @@ -29,4 +29,6 @@ jobs: - name: create user and run yay run: | useradd -m -G wheel user - su - user -c "whoami; yay -V" \ No newline at end of file + echo '%wheel ALL=(ALL:ALL) NOPASSWD: ALL' > /etc/sudoers + chmod 440 /etc/sudoers + su - user -c "whoami; yay -V; yay -S --noconfirm --answerdiff=None --answerclean=None --answeredit=None neofetch; neofetch" \ No newline at end of file