From 9408dacc272e60759aa90ab4766d95bfde3d5fb1 Mon Sep 17 00:00:00 2001 From: Dave Henderson Date: Tue, 5 May 2020 20:50:30 -0400 Subject: [PATCH] Fixing goreleaser syntax error (#3355) Signed-off-by: Dave Henderson --- .github/workflows/ci.yml | 16 ++++++++++++++-- .goreleaser.yml | 19 ++++++++++++------- 2 files changed, 26 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d8d1cf7b..c096fbd1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,10 +4,10 @@ name: Cross-Platform on: push: - branches: + branches: - master pull_request: - branches: + branches: - master jobs: @@ -133,3 +133,15 @@ jobs: # uses: docker://reviewdog/action-golangci-lint:v1 # pre-build docker image with: github_token: ${{ secrets.github_token }} + + goreleaser-check: + runs-on: ubuntu-latest + steps: + - name: checkout + uses: actions/checkout@v2 + - uses: goreleaser/goreleaser-action@v1 + with: + version: latest + args: check + env: + TAG: ${{ steps.vars.outputs.version_tag }} diff --git a/.goreleaser.yml b/.goreleaser.yml index 5822b886..9dcfab12 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -34,13 +34,18 @@ builds: ignore: - goos: darwin goarch: arm - - goarch: - - ppc64le - - s390x - goos: - - darwin - - windows - - freebsd + - goos: darwin + goarch: ppc64le + - goos: darwin + goarch: s390x + - goos: windows + goarch: ppc64le + - goos: windows + goarch: s390x + - goos: freebsd + goarch: ppc64le + - goos: freebsd + goarch: s390x flags: - -trimpath ldflags: