Skip to content

Commit

Permalink
add coverage and lint checking
Browse files Browse the repository at this point in the history
  • Loading branch information
conradludgate committed Aug 18, 2021
1 parent 3cbb3fa commit 840158b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,10 @@ jobs:
uses: actions/checkout@v2

- name: Run tests
run: go test -v ./...
run: go test -v ./... -coverprofile=coverage.txt -covermode=atomic

- name: Upload Code Coverage
uses: codecov/codecov-action@v1

- name: Run golangci-lint
uses: golangci/golangci-lint-action@v2.5.2

0 comments on commit 840158b

Please sign in to comment.