mirror of
https://github.com/Jguer/yay.git
synced 2026-05-05 04:16:10 +02:00
add testing with pacman-git
This commit is contained in:
parent
767c7975f3
commit
7ade2afd78
11
.github/workflows/testing.yml
vendored
11
.github/workflows/testing.yml
vendored
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user