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