name: Validate Package Build on: pull_request: branches: - master types: [opened, synchronize, reopened] jobs: resolve-dependencies: runs-on: ubuntu-latest container: image: archlinux:base-devel steps: - name: Install aurutils dependencies shell: bash run: pacman -Syu --noconfirm git # This is only temporary, for bootstrapping, until this repo itself contains aurutils and can be installed via the repo - name: Install aurutils shell: bash run: | git clone https://aur.archlinux.org/aurutils.git cd aurutils pwd makepkg -sirc - name: Create build user run: | useradd --create-home builder chown -R builder:builder "$GITHUB_WORKSPACE"