Skip to content

Commit

Permalink
go vet
Browse files Browse the repository at this point in the history
  • Loading branch information
cmendible committed Feb 9, 2023
1 parent 3986b98 commit 2b492b0
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,19 @@ jobs:
git diff --exit-code ./go.mod
git diff --exit-code ./go.sum
- name: Run Go vet
if: matrix.target_os == 'linux'
run: |
go vet ./...
- name: Run Tests
if: matrix.target_os == 'linux'
env:
COVERAGE_OPTS: "-coverprofile=coverage.txt -covermode=atomic"
run: |
go install gotest.tools/gotestsum@latest
CGO_ENABLED=0 gotestsum --jsonfile ./test_report_unit.json --format standard-quiet -- ./internal/... $COVERAGE_OPTS --tags=unit
go test ./internal/scanners/
CGO_ENABLED=0 gotestsum --jsonfile ./test_report_unit.json --format standard-quiet -- ./... $COVERAGE_OPTS --tags=unit
go test ./...
- name: Codecov
if: matrix.target_os == 'linux'
Expand Down

0 comments on commit 2b492b0

Please sign in to comment.