ci: add Gitea Actions workflow for make check

This commit is contained in:
user
2026-02-20 02:48:41 -08:00
parent 118bca1151
commit 06e1cba0a9

View File

@@ -1,9 +1,22 @@
name: check
on: [push]
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
check:
runs-on: ubuntu-latest
steps:
# actions/checkout v4.2.2, 2026-02-22
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- run: docker build .
- 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: Run make check
run: make check