Browse Source

Fixing goreleaser syntax error (#3355)

Signed-off-by: Dave Henderson <dhenderson@gmail.com>
master
Dave Henderson 5 years ago
committed by GitHub
parent
commit
9408dacc27
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 16
      .github/workflows/ci.yml
  2. 19
      .goreleaser.yml

16
.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 }}

19
.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:

Loading…
Cancel
Save