chore: LICENSE, CI workflow, gitignore hygiene, makefile targets

This commit is contained in:
2026-05-23 11:47:11 +01:00
parent 8f5200a7f2
commit dd990cf25b
4 changed files with 80 additions and 3 deletions
+37
View File
@@ -0,0 +1,37 @@
name: ci
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
name: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.22'
cache: true
- name: vet
run: go vet ./...
- name: build
run: go build ./...
- name: test
run: go test -race -count=1 ./...
lint:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.22'
cache: true
- uses: golangci/golangci-lint-action@v6
with:
version: latest