File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 36
36
- uses : actions/checkout@v2
37
37
38
38
- name : Check licenses
39
+ uses : actions/setup-go@v2
40
+ with :
41
+ go-version : ' ^1.16'
39
42
run : |
40
- go get -u github.com/google/addlicense
43
+ go install github.com/google/addlicense@latest
41
44
export PATH=$PATH:$(go env GOPATH)/bin
42
45
addlicense -check .
43
46
66
69
run : bazelisk --noworkspace_rc build --platforms=@rules_rust//rust/platform:wasi //...
67
70
68
71
- name : Format (buildifier)
72
+ uses : actions/setup-go@v2
73
+ with :
74
+ go-version : ' ^1.16'
69
75
run : |
70
- GO111MODULE=on go get -u github.com/bazelbuild/buildtools/buildifier@3.4.0
76
+ go get install github.com/bazelbuild/buildtools/buildifier@latest
71
77
export PATH=$PATH:$(go env GOPATH)/bin
72
78
buildifier -mode=check WORKSPACE
73
79
buildifier -mode=check BUILD
You can’t perform that action at this time.
0 commit comments