Skip to content

Commit

Permalink
Make sure to have coverage present coverage job.
Browse files Browse the repository at this point in the history
  • Loading branch information
robshakir committed May 24, 2022
1 parent 185a9d9 commit 2346d4b
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2346d4b

Please sign in to comment.