summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Henderson <dhenderson@gmail.com>2020-05-05 20:50:30 -0400
committerGitHub <noreply@github.com>2020-05-06 00:50:30 +0000
commit9408dacc272e60759aa90ab4766d95bfde3d5fb1 (patch)
tree694e895a6ef662dfcec060dc8127973a33762a03
parent12cfc19487d99e0add1e86f21156502545121e23 (diff)
Fixing goreleaser syntax error (#3355)
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
-rw-r--r--.github/workflows/ci.yml16
-rw-r--r--.goreleaser.yml19
2 files changed, 26 insertions, 9 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index d8d1cf7..c096fbd 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 5822b88..9dcfab1 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: