ci: add quality checks and smoke tests

This commit is contained in:
2026-04-10 17:26:49 +02:00
parent 78909cd308
commit 9b46396f32
3 changed files with 227 additions and 0 deletions

36
.github/workflows/ci.yml vendored Normal file
View File

@@ -0,0 +1,36 @@
name: ci
on:
push:
branches:
- main
pull_request:
jobs:
quality:
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
cache: true
- name: verify dependencies
run: go mod download
- name: vet
run: go vet ./...
- name: test
run: go test ./...
- name: build
run: go build ./...
- name: staticcheck
run: go run honnef.co/go/tools/cmd/staticcheck@latest ./...