ci: add build check workflow (#71)

Signed-off-by: Guoguo <i@qwq.trade>
This commit is contained in:
Guoguo
2026-02-12 22:28:27 +08:00
committed by GitHub
parent 8661d54406
commit 0661d05541

21
.github/workflows/build.yml vendored Normal file
View File

@@ -0,0 +1,21 @@
name: build
on:
push:
branches: ["main"]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Build
run: make build-all