Skip to content

docs: 3.0.0 changelog + Project layout section (why flat package, not… #65

docs: 3.0.0 changelog + Project layout section (why flat package, not…

docs: 3.0.0 changelog + Project layout section (why flat package, not… #65

Workflow file for this run

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