From 7ade2afd78601702356c19b22bbd464080573f40 Mon Sep 17 00:00:00 2001 From: x1b6e6 Date: Sun, 2 May 2021 21:02:33 +0700 Subject: [PATCH] add testing with pacman-git --- .github/workflows/testing.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 3128e56f..3171577a 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -29,3 +29,14 @@ jobs: run: /app/bin/golangci-lint run ./... - name: Run Build and Tests run: make test + - name: checkout pacman-git + run: | + pacman -Sy --noconfirm sudo base-devel + git clone https://aur.archlinux.org/pacman-git + useradd github + chmod -R 777 pacman-git + echo 'github ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers + su github -c 'cd pacman-git; yes | makepkg -si --nocheck' + - name: Run Build and Tests with pacman-git + run: make test +