We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd0be84 commit a78aa05Copy full SHA for a78aa05
.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,15 @@ jobs:
44
47
45
48
- name: Format (buildifier)
46
49
- go get -u github.com/bazelbuild/buildtools/buildifier
50
+ go version
51
+ go install github.com/bazelbuild/buildtools/buildifier@latest
52
export PATH=$PATH:$(go env GOPATH)/bin
53
find . -name "BUILD" | xargs -n1 buildifier -mode=check
54
55
- name: Format (addlicense)
56
- go get -u github.com/google/addlicense
57
58
+ go install github.com/google/addlicense@latest
59
60
addlicense -check .
61
0 commit comments