From a74189bf63ea8c80104f4045416b65f6a384a5a3 Mon Sep 17 00:00:00 2001 From: Arno Broekhof Date: Tue, 12 Nov 2019 15:02:23 +0100 Subject: [PATCH] added testing with goreleaser --- .github/workflows/main.yml | 2 +- .goreleaser.yml | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 54a755f..c3332b3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,7 +13,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v1 with: - go-version: 1.13 + go-version: 1.13.3 id: go - name: Check out code into the Go module directory uses: actions/checkout@v1 diff --git a/.goreleaser.yml b/.goreleaser.yml index 432da73..6cf6e0b 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -2,10 +2,9 @@ # Make sure to check the documentation at http://goreleaser.com before: hooks: - # you may remove this if you don't use vgo - go mod tidy - # you may remove this if you don't need go generate - - go generate ./... + - go mod vendor + - go test ./... builds: - main: ./cmd/rd2wgs84.go env: