Makefile 446 B

1234567891011121314
  1. all:
  2. go build ./...
  3. test:
  4. GODEBUG=gotypesalias=0 go test -race ./... -count=1
  5. GODEBUG=gotypesalias=1 go test -race ./... -count=1
  6. # We verify for the maximum version of the go directive as 1.20
  7. # here because the oldest go directive that exists on our supported
  8. # release branches in k/k is 1.20.
  9. verify:
  10. GODEBUG=gotypesalias=0 ./hack/verify-examples.sh
  11. GODEBUG=gotypesalias=1 ./hack/verify-examples.sh
  12. ./hack/verify-go-directive.sh 1.23