when: event: - push - pull_request branch: - main steps: format: image: golang:1.24 commands: - make format - git diff --exit-code # Fail if files were changed lint: image: golang:1.24 commands: - go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.64.5 - make lint test: image: golang:1.24 commands: - make test