Skip to content

Commit

Permalink
Corrected the go list command
Browse files Browse the repository at this point in the history
  • Loading branch information
gauravkuber committed Sep 23, 2024
1 parent 26563c0 commit effb6eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Build
run: go build -v ./...
- name: Test with the Go CLI
run: go test $(go list ./... | grep -v /api/apitest) -cover -json > TestResults-${{ matrix.go-version }}.json
run: go test $(go list ./...) -cover -json > TestResults-${{ matrix.go-version }}.json
- name: Upload Go test results
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit effb6eb

Please sign in to comment.