From d2976580139aee23cbcc21272f0967b3b19afe87 Mon Sep 17 00:00:00 2001 From: benzjeremy <313434618+benzjeremy@users.noreply.github.com> Date: Thu, 17 Sep 2026 09:28:19 +0200 Subject: [PATCH] fix(ci): install GTK/WebKit packages for cgo build in Arch CI --- .github/workflows/ci_arch.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/ci_arch.yml diff --git a/.github/workflows/ci_arch.yml b/.github/workflows/ci_arch.yml new file mode 100644 index 0000000..6fb3a9e --- /dev/null +++ b/.github/workflows/ci_arch.yml @@ -0,0 +1,33 @@ +name: CI (Arch Linux) + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + build: + runs-on: ubuntu-latest + container: + image: archlinux:latest + steps: + - uses: actions/checkout@v4 + - name: Install dependencies + run: | + pacman -Sy --noconfirm git base-devel go \ + gtk3 webkit2gtk + - name: Set up Go + uses: actions/setup-go@v5 + with: + go-version: '1.22' + - name: Verify go.mod tidy + run: | + go mod tidy + git diff --exit-code go.mod go.sum + - name: Build + run: go build ./... + - name: Test + run: go test ./... -v + - name: Lint + run: go vet ./...