[chore] move partial goreleaser config to native code #683
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Continuous Integration - Core - GoReleaser | ||
on: | ||
push: | ||
branches: [main] | ||
paths: | ||
- "distributions/otelcol/**" | ||
- "cmd/**" | ||
- ".github/**" | ||
- "scripts/**" | ||
- "Makefile" | ||
- "go.mod" | ||
- "go.sum" | ||
pull_request: | ||
branches: [main] | ||
paths: | ||
- "distributions/otelcol/**" | ||
- "cmd/**" | ||
- ".github/**" | ||
- "scripts/**" | ||
- "Makefile" | ||
- "go.mod" | ||
- "go.sum" | ||
jobs: | ||
check-goreleaser: | ||
name: Continuous Integration - Core - GoReleaser | ||
uses: ./.github/workflows/base-ci-goreleaser.yaml | ||
with: | ||
distribution: otelcol | ||
goos: '[ "linux", "windows", "darwin" ]' | ||
goarch: '[ "386", "amd64", "arm64", "ppc64le", "arm", "s390x" ]' | ||
secrets: inherit | ||
package-tests: | ||
name: Package tests | ||
needs: check-goreleaser | ||
uses: ./.github/workflows/package-tests.yaml | ||
Check failure on line 39 in .github/workflows/ci-goreleaser-core.yaml GitHub Actions / .github/workflows/ci-goreleaser-core.yamlInvalid workflow file
|
||
with: | ||
distribution: otelcol | ||
type: '[ "deb", "rpm" ]' |