File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 41
41
addlicense :
42
42
name : verify licenses
43
43
44
- runs-on : ubuntu-20 .04
44
+ runs-on : ubuntu-22 .04
45
45
46
46
steps :
47
47
- uses : actions/checkout@v2
61
61
buildifier :
62
62
name : check format with buildifier
63
63
64
- runs-on : ubuntu-20 .04
64
+ runs-on : ubuntu-22 .04
65
65
66
66
steps :
67
67
- uses : actions/checkout@v2
@@ -99,29 +99,29 @@ jobs:
99
99
clang_format :
100
100
name : check format with clang-format
101
101
102
- runs-on : ubuntu-20 .04
102
+ runs-on : ubuntu-22 .04
103
103
104
104
steps :
105
105
- uses : actions/checkout@v2
106
106
107
107
- name : Install dependencies (Linux)
108
- run : sudo apt update -y && sudo apt install -y clang-format-12
108
+ run : sudo apt update -y && sudo apt install -y clang-format
109
109
110
110
- name : Format (clang-format)
111
111
run : |
112
- find . -name "*.h" -o -name "*.cc" -o -name "*.proto" | grep -v ".pb." | xargs -n1 clang-format-12 -i
112
+ find . -name "*.h" -o -name "*.cc" -o -name "*.proto" | grep -v ".pb." | xargs -n1 clang-format -i
113
113
git diff --exit-code
114
114
115
115
clang_tidy :
116
116
name : check format with clang-tidy
117
117
118
- runs-on : ubuntu-20 .04
118
+ runs-on : ubuntu-22 .04
119
119
120
120
steps :
121
121
- uses : actions/checkout@v2
122
122
123
123
- name : Install dependencies (Linux)
124
- run : sudo apt update -y && sudo apt install -y clang-tidy-12 lld-12 && sudo ln -sf /usr/bin/lld-12 /usr/bin/ lld
124
+ run : sudo apt update -y && sudo apt install -y clang-tidy lld
125
125
126
126
- name : Bazel cache
127
127
uses :
PiotrSikora/[email protected]
You can’t perform that action at this time.
0 commit comments