From 2346d4bfc450b9f7ebccda6b9b0ee95eb3b8849d Mon Sep 17 00:00:00 2001 From: Rob Shakir Date: Tue, 24 May 2022 08:57:31 -0700 Subject: [PATCH] Make sure to have coverage present coverage job. --- .github/workflows/go.yml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 513c2dd..a6838f4 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -81,15 +81,8 @@ jobs: - name: Check out code uses: actions/checkout@v2 - - name: Go vet - run: go vet -composites=false ./... - - - name: Check gofmt - run: diff -u <(echo -n) <(gofmt -d -s .) - - - name: Staticcheck - run: | - staticcheck ./... + - name: Test + run: go test -v -coverprofile=profile.cov ./... - name: Submit coverage uses: shogo82148/actions-goveralls@v1