Files
zzg 357ef259a4
ci / test (push) Canceled after 0s
initial commit
2026-09-25 22:07:44 -07:00

20 lines
446 B
YAML

name: ci
on:
push:
branches: [master, main]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.24'
- run: go vet ./...
- name: gofmt
run: test -z "$(gofmt -l .)" || { gofmt -l .; exit 1; }
- run: go test -race -coverprofile=coverage.out ./...
- run: go tool cover -func=coverage.out