Skip to content

Commit

Permalink
UPSTREAM: 1663: Run vet and tests in all subpackages in CI
Browse files Browse the repository at this point in the history
`go vet` and `go test` without any package arguments runs only
on the go files in the repo root directory. It should run on all
non-vendored packages.
  • Loading branch information
zimnx committed Nov 14, 2022
1 parent e3e27db commit 87ea4a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ jobs:
restore-keys: |
${{ runner.os }}-go-
- run: go vet
- run: go vet ./...

- name: Run unit tests
run: go test -tags unit -race
run: go test -tags unit -race ./...

- name: Install Docker compose
env:
Expand Down

0 comments on commit 87ea4a8

Please sign in to comment.