name: compile yay on: push: branches: - main jobs: compile-yay: runs-on: archlinux-latest container: image: archlinux:latest steps: - name: prepare run: | pacman -Sy --noconfirm make go git wget https://github.com/Jguer/yay/archive/v12.5.7.tar.gz tar -xf yay-12.5.7.tar.gz - name: compile yay run: | cd yay-12.5.7 make VERSION=12.5.7 PREFIX="/usr" build make VERSION=12.5.7 PREFIX="/usr" install - name: run yay run: | yay -V