CI / test (push) Has been cancelled
Comments, doc comments, test names, error and log messages, CLI help, README, Makefile, CI step names and the design document are now all in English. No behaviour changes; the full suite passes under the race detector. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
32 lines
573 B
YAML
32 lines
573 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: actions/setup-go@v5
|
|
with:
|
|
go-version: "1.26"
|
|
cache: true
|
|
|
|
- name: Check formatting
|
|
run: |
|
|
out=$(gofmt -l .)
|
|
if [ -n "$out" ]; then echo "gofmt needed on:"; echo "$out"; exit 1; fi
|
|
|
|
- name: Vet
|
|
run: go vet ./...
|
|
|
|
- name: Test with the race detector
|
|
run: go test -race ./...
|
|
|
|
- name: Build
|
|
run: go build ./...
|