2828 - uses : actions/setup-node@v6
2929 with :
3030 node-version : lts/krypton
31+ - name : Setup clang-format
32+ uses : aminya/setup-cpp@v1
33+ with :
34+ clang-format : true
3135 # Set up JDK and Android SDK only because we need weak-node-api, to build ferric-example and to run the linting
3236 # TODO: Remove this once we have a way to run linting without building the native code
3337 - name : Set up JDK 17
6771 - uses : actions/setup-node@v6
6872 with :
6973 node-version : lts/krypton
74+ - name : Setup clang-format
75+ uses : aminya/setup-cpp@v1
76+ with :
77+ clang-format : true
7078 - name : Set up JDK 17
7179 uses : actions/setup-java@v4
7280 with :
@@ -96,6 +104,10 @@ jobs:
96104 - uses : actions/setup-node@v6
97105 with :
98106 node-version : lts/krypton
107+ - name : Setup clang-format
108+ uses : aminya/setup-cpp@v1
109+ with :
110+ clang-format : true
99111 - run : npm ci
100112 - run : npm run build
101113 - name : Prepare weak-node-api
@@ -115,6 +127,10 @@ jobs:
115127 - uses : actions/setup-node@v6
116128 with :
117129 node-version : lts/krypton
130+ - name : Setup clang-format
131+ uses : aminya/setup-cpp@v1
132+ with :
133+ clang-format : true
118134 - name : Set up JDK 17
119135 uses : actions/setup-java@v3
120136 with :
@@ -148,6 +164,10 @@ jobs:
148164 - uses : actions/setup-node@v6
149165 with :
150166 node-version : lts/krypton
167+ - name : Setup clang-format
168+ uses : aminya/setup-cpp@v1
169+ with :
170+ clang-format : true
151171 - name : Set up JDK 17
152172 uses : actions/setup-java@v3
153173 with :
@@ -179,6 +199,10 @@ jobs:
179199 - uses : actions/setup-node@v6
180200 with :
181201 node-version : lts/krypton
202+ - name : Setup clang-format
203+ uses : aminya/setup-cpp@v1
204+ with :
205+ clang-format : true
182206 - name : Set up JDK 17
183207 uses : actions/setup-java@v4
184208 with :
@@ -259,6 +283,10 @@ jobs:
259283 - uses : actions/setup-node@v6
260284 with :
261285 node-version : lts/krypton
286+ - name : Setup clang-format
287+ uses : aminya/setup-cpp@v1
288+ with :
289+ clang-format : true
262290 - name : Set up JDK 17
263291 uses : actions/setup-java@v3
264292 with :
0 commit comments