2828 - uses : actions/setup-node@v4
2929 with :
3030 node-version : lts/jod
31+ - name : Install LLVM to get clang-format
32+ uses : KyleMayes/install-llvm-action@v2
33+ with :
34+ version : " 21.1.8"
35+ directory : ${{ runner.temp }}/llvm
3136 # Set up JDK and Android SDK only because we need weak-node-api, to build ferric-example and to run the linting
3237 # TODO: Remove this once we have a way to run linting without building the native code
3338 - name : Set up JDK 17
6772 - uses : actions/setup-node@v4
6873 with :
6974 node-version : lts/jod
75+ - name : Install LLVM to get clang-format
76+ uses : KyleMayes/install-llvm-action@v2
77+ with :
78+ version : " 21.1.8"
79+ directory : ${{ runner.temp }}/llvm
7080 - name : Set up JDK 17
7181 uses : actions/setup-java@v4
7282 with :
@@ -96,6 +106,11 @@ jobs:
96106 - uses : actions/setup-node@v4
97107 with :
98108 node-version : lts/jod
109+ - name : Install LLVM to get clang-format
110+ uses : KyleMayes/install-llvm-action@v2
111+ with :
112+ version : " 21.1.8"
113+ directory : ${{ runner.temp }}/llvm
99114 - run : npm ci
100115 - run : npm run build
101116 - name : Prepare weak-node-api
@@ -115,6 +130,11 @@ jobs:
115130 - uses : actions/setup-node@v4
116131 with :
117132 node-version : lts/jod
133+ - name : Install LLVM to get clang-format
134+ uses : KyleMayes/install-llvm-action@v2
135+ with :
136+ version : " 21.1.8"
137+ directory : ${{ runner.temp }}/llvm
118138 - name : Set up JDK 17
119139 uses : actions/setup-java@v3
120140 with :
@@ -148,6 +168,11 @@ jobs:
148168 - uses : actions/setup-node@v4
149169 with :
150170 node-version : lts/jod
171+ - name : Install LLVM to get clang-format
172+ uses : KyleMayes/install-llvm-action@v2
173+ with :
174+ version : " 21.1.8"
175+ directory : ${{ runner.temp }}/llvm
151176 - name : Set up JDK 17
152177 uses : actions/setup-java@v3
153178 with :
@@ -179,6 +204,11 @@ jobs:
179204 - uses : actions/setup-node@v4
180205 with :
181206 node-version : lts/jod
207+ - name : Install LLVM to get clang-format
208+ uses : KyleMayes/install-llvm-action@v2
209+ with :
210+ version : " 21.1.8"
211+ directory : ${{ runner.temp }}/llvm
182212 - name : Set up JDK 17
183213 uses : actions/setup-java@v4
184214 with :
@@ -259,6 +289,11 @@ jobs:
259289 - uses : actions/setup-node@v4
260290 with :
261291 node-version : lts/jod
292+ - name : Install LLVM to get clang-format
293+ uses : KyleMayes/install-llvm-action@v2
294+ with :
295+ version : " 21.1.8"
296+ directory : ${{ runner.temp }}/llvm
262297 - name : Set up JDK 17
263298 uses : actions/setup-java@v3
264299 with :
0 commit comments