Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: improve goreleaser pipeline (#773)
This PR improves the goreleaser pipeline in the following ways: - It utilizes the [YAML merge key](https://yaml.org/type/merge.html) to reduce code duplication - It adds the `-s` ldflag to reduce binary size: [Omit the symbol table and debug information.](https://pkg.go.dev/cmd/link) - It adds the `-trimpath` flag to trim absolute file paths from build output Binary size of `linux/amd64` build on: - 069fffe: 14192497 B - d0dfda9: 12738712 B -> File size reduction is about 10%.
- Loading branch information