Skip to content

Open-source readiness: README, help, CLAUDE.md, release flow, tests, LICENSE #4

Open-source readiness: README, help, CLAUDE.md, release flow, tests, LICENSE

Open-source readiness: README, help, CLAUDE.md, release flow, tests, LICENSE #4

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
permissions:
contents: read
jobs:
build-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.25"
cache: true
- name: go vet
run: go vet ./...
- name: gofmt
run: |
unformatted=$(gofmt -s -l .)
if [ -n "$unformatted" ]; then
echo "These files are not gofmt-ed:"
echo "$unformatted"
exit 1
fi
- name: test
run: go test ./...
- name: build
run: go build ./...