ci: add Gitea Actions workflow for make check
Some checks failed
Check / check (pull_request) Failing after 5m31s
Some checks failed
Check / check (pull_request) Failing after 5m31s
This commit is contained in:
parent
797d2678c8
commit
880ff4bff4
23
.gitea/workflows/check.yml
Normal file
23
.gitea/workflows/check.yml
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
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: Run make check
|
||||||
|
run: make check
|
||||||
Loading…
Reference in New Issue
Block a user