benzcloud-server/.github/workflows/ci_arch.yml
benzjeremy d5a0c54c1e
Some checks failed
CI (Arch Linux) / build (push) Has been cancelled
fix(ci): align Go version with go.mod (1.26)
2026-09-17 11:45:15 +02:00

31 lines
606 B
YAML

name: CI (Arch Linux)
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
container:
image: archlinux:latest
env:
CGO_ENABLED: "0"
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
pacman -Sy --noconfirm git base-devel go
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.26'
- name: Build
run: go build ./...
- name: Test
run: go test ./... -v
- name: Lint
run: go vet ./...