From a3c2de7dc25e13ee617a383f9819279adf54af25 Mon Sep 17 00:00:00 2001 From: Geoff Bourne Date: Sat, 13 Nov 2021 15:22:07 -0600 Subject: [PATCH] ci: added goreleaser snapshot to test workflow --- .github/workflows/test.yml | 8 +++++--- .goreleaser.yml | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index efaac10..27d4522 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,6 +21,8 @@ jobs: with: go-version: 1.17 - - name: Test - run: | - go test ./... \ No newline at end of file + - name: Run GoReleaser Snapshot + uses: goreleaser/goreleaser-action@v2 + with: + version: latest + args: build --snapshot --rm-dist diff --git a/.goreleaser.yml b/.goreleaser.yml index 62f9ced..0aeac6c 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -23,7 +23,7 @@ builds: goarch: arm goarm: 6 - goos: windows - goarch arm64 + goarch: arm64 main: ./cmd/mc-router binary: mc-router env: