when: - event: [pull_request, tag, cron] - event: push branch: - ${CI_REPO_DEFAULT_BRANCH} - renovate/* steps: lint: image: golangci/golangci-lint:v1.57.2 depends_on: vendor pull: true commands: - go version - go install mvdan.cc/gofumpt@latest - "[ $(gofumpt -extra -l . | wc -l) != 0 ] && { echo 'code not formated'; exit 1; }" - golangci-lint run --timeout 5m --build-tags integration editor-config: depends_on: [] image: mstruebing/editorconfig-checker:2.7.2