ci: add Gitea Actions workflow for make check
All checks were successful
Check / check (pull_request) Successful in 10m5s

This commit is contained in:
user 2026-02-20 02:48:13 -08:00
parent e185000402
commit ae936b3365

View File

@ -0,0 +1,26 @@
name: Check
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Install golangci-lint
run: go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.10.1
- name: Install goimports
run: go install golang.org/x/tools/cmd/goimports@latest
- name: Run make check
run: make check