ci: added goreleaser snapshot to test workflow

This commit is contained in:
Geoff Bourne 2021-11-13 15:22:07 -06:00
parent 939c067bcc
commit a3c2de7dc2
2 changed files with 6 additions and 4 deletions

View File

@ -21,6 +21,8 @@ jobs:
with: with:
go-version: 1.17 go-version: 1.17
- name: Test - name: Run GoReleaser Snapshot
run: | uses: goreleaser/goreleaser-action@v2
go test ./... with:
version: latest
args: build --snapshot --rm-dist

View File

@ -23,7 +23,7 @@ builds:
goarch: arm goarch: arm
goarm: 6 goarm: 6
- goos: windows - goos: windows
goarch arm64 goarch: arm64
main: ./cmd/mc-router main: ./cmd/mc-router
binary: mc-router binary: mc-router
env: env: