:golang: Install dependencies
:docker:golang:1.22
go mod vendor
:golang: Build
:docker:golang:1.22
go build -mod=vendor main.go
:golang: Test
:docker:golang:1.22
go test -mod=vendor ./...
:golang: Generate
:docker:golang:1.22
go generate -mod=vendor ./...git diff --exit-code || (echo 'Generated code is out of date, please run `go generate` and commit the changes' && exit 1)
87%