goreleaserConfig is the slice of .goreleaser.yaml we assert against: the goos x goarch cross-product goreleaser builds a binary for.
| 25 | // goreleaserConfig is the slice of .goreleaser.yaml we assert against: the |
| 26 | // goos x goarch cross-product goreleaser builds a binary for. |
| 27 | type goreleaserConfig struct { |
| 28 | Builds []struct { |
| 29 | Goos []string `yaml:"goos"` |
| 30 | Goarch []string `yaml:"goarch"` |
| 31 | } `yaml:"builds"` |
| 32 | } |
| 33 | |
| 34 | // goreleaserMatrix is the source of truth: every os/arch goreleaser builds for. |
| 35 | func goreleaserMatrix(t *testing.T) map[platformKey]bool { |
nothing calls this directly
no outgoing calls
no test coverage detected