There was an error while loading. Please reload this page.
1 parent fd0be84 commit c17bf82Copy full SHA for c17bf82
.github/workflows/cpp.yml
@@ -35,6 +35,9 @@ jobs:
35
36
steps:
37
- uses: actions/checkout@v2
38
+ - uses: actions/setup-go@v2
39
+ with:
40
+ go-version: '^1.16'
41
42
- name: Format (clang-format)
43
run: |
@@ -44,13 +47,13 @@ jobs:
44
47
45
48
- name: Format (buildifier)
46
49
- go get -u github.com/bazelbuild/buildtools/buildifier
50
+ go install github.com/bazelbuild/buildtools/buildifier@latest
51
export PATH=$PATH:$(go env GOPATH)/bin
52
find . -name "BUILD" | xargs -n1 buildifier -mode=check
53
54
- name: Format (addlicense)
55
- go get -u github.com/google/addlicense
56
+ go install github.com/google/addlicense@latest
57
58
addlicense -check .
59
0 commit comments