From c99ad654c04b3bfbcac162f773a1478c4050bf81 Mon Sep 17 00:00:00 2001 From: "R.I.Pienaar" Date: Mon, 23 Dec 2024 12:05:00 +0100 Subject: [PATCH] Update release pipeline to match test pipeline Signed-off-by: R.I.Pienaar --- .github/workflows/release.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 991515e6..5ad1a976 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -31,10 +31,10 @@ jobs: shell: bash --noprofile --norc -x -eo pipefail {0} run: | PATH=$PATH:$GOPATH/bin - GO_LIST=$(go list ./...) + GO_LIST=$(go list ./... | grep -F -e asciigraph -v) $(exit $(go fmt $GO_LIST | wc -l)) go vet -composites=false $GO_LIST - find . -type f -name "*.go" | xargs misspell -error -locale US + find . -type f -name "*.go" | grep -F -e asciigraph -v | xargs misspell -error -locale US staticcheck -f stylish $GO_LIST - name: Test @@ -44,7 +44,8 @@ jobs: cd nats go build cd .. - go test -v --failfast -p=1 ./... + go list ./... | grep -F -e asciigraph -v | xargs go test -v --failfast -p=1 + - name: Create GitHub App Token id: token