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:
3434
3535 steps :
3636 - uses : actions/checkout@v2
37+ - uses : actions/setup-go@v2
38+ with :
39+ go-version : ' ^1.16'
3740
3841 - name : Check licenses
3942 run : |
40- go get -u github.com/google/addlicense
43+ go install github.com/google/addlicense@latest
4144 export PATH=$PATH:$(go env GOPATH)/bin
4245 addlicense -check .
4346
4649
4750 steps :
4851 - uses : actions/checkout@v2
52+ - uses : actions/setup-go@v2
53+ with :
54+ go-version : ' ^1.16'
4955
5056 - name : Cache
5157 uses : actions/cache@v2
6773
6874 - name : Format (buildifier)
6975 run : |
70- GO111MODULE=on go get -u github.com/bazelbuild/buildtools/buildifier@3.4.0
76+ go install github.com/bazelbuild/buildtools/buildifier@latest
7177 export PATH=$PATH:$(go env GOPATH)/bin
7278 buildifier -mode=check WORKSPACE
7379 buildifier -mode=check BUILD
You can’t perform that action at this time.
0 commit comments