This is an automated email from the ASF dual-hosted git repository.
lostluck pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/master by this push:
new 6c9c208 [BEAM-10206] Add Go Vet to Github Actions (#16612)
6c9c208 is described below
commit 6c9c208197d3d74b1c3643d22716ad3b00213506
Author: Jack McCluskey <[email protected]>
AuthorDate: Fri Jan 28 22:48:59 2022 -0500
[BEAM-10206] Add Go Vet to Github Actions (#16612)
---
.github/workflows/go_tests.yml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/go_tests.yml b/.github/workflows/go_tests.yml
index 7964636..d909a27 100644
--- a/.github/workflows/go_tests.yml
+++ b/.github/workflows/go_tests.yml
@@ -45,4 +45,6 @@ jobs:
- name: Run coverage
run: cd sdks/go/pkg && go test -coverprofile=coverage.txt
-covermode=atomic ./...
- name: Upload to codecov
- run: bash <(curl -s https://codecov.io/bash)
\ No newline at end of file
+ run: bash <(curl -s https://codecov.io/bash)
+ - name: Run vet
+ run: cd sdks/go/pkg/beam && go vet --copylocks=false --unsafeptr=false
./...