Overview
To prevent issues like https://github.com/elastic/ecctl/runs/4475470597?check_suite_focus=true we need to add a config validation for goreleaser on PR. It should run command like goreleaser check -f .goreleaser.yml
Possible Implementation
We need to add an extra step to https://github.com/elastic/ecctl/blob/master/.github/workflows/go.yml which will run goreleaser check -f .goreleaser.yml
Testing
Context
Your Environment
Overview
To prevent issues like https://github.com/elastic/ecctl/runs/4475470597?check_suite_focus=true we need to add a config validation for
goreleaseron PR. It should run command likegoreleaser check -f .goreleaser.ymlPossible Implementation
We need to add an extra step to https://github.com/elastic/ecctl/blob/master/.github/workflows/go.yml which will run
goreleaser check -f .goreleaser.ymlTesting
Context
Your Environment