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 @@ -34,10 +34,13 @@ jobs:
34
34
35
35
steps :
36
36
- uses : actions/checkout@v2
37
+ - uses : actions/setup-go@v2
38
+ with :
39
+ go-version : ' ^1.16'
37
40
38
41
- name : Check licenses
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
46
49
47
50
steps :
48
51
- uses : actions/checkout@v2
52
+ - uses : actions/setup-go@v2
53
+ with :
54
+ go-version : ' ^1.16'
49
55
50
56
- name : Cache
51
57
uses : actions/cache@v2
67
73
68
74
- name : Format (buildifier)
69
75
run : |
70
- GO111MODULE=on go get -u github.com/bazelbuild/buildtools/buildifier@3.4.0
76
+ go 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