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