Skip to content

Commit 8b0b809

Browse files
committed
Unstall clang-format as a global package
1 parent f81ace8 commit 8b0b809

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

.github/workflows/check.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ jobs:
4040
with:
4141
packages: tools platform-tools ndk;${{ env.NDK_VERSION }}
4242
- run: rustup target add x86_64-linux-android
43+
- name: Setup Clang Format
44+
run: npm install --global clang-format
4345
- run: npm ci
4446
- run: npm run build
4547
# Bootstrap weak-node-api and ferric-example to get types
@@ -77,6 +79,8 @@ jobs:
7779
with:
7880
packages: tools platform-tools ndk;${{ env.NDK_VERSION }}
7981
- run: rustup target add x86_64-linux-android aarch64-linux-android armv7-linux-androideabi i686-linux-android aarch64-apple-ios-sim
82+
- name: Setup Clang Format
83+
run: npm install --global clang-format
8084
- run: npm ci
8185
- run: npm run bootstrap
8286
- run: npm test
@@ -96,6 +100,8 @@ jobs:
96100
- uses: actions/setup-node@v4
97101
with:
98102
node-version: lts/jod
103+
- name: Setup Clang Format
104+
run: npm install --global clang-format
99105
- run: npm ci
100106
- run: npm run build
101107
- name: Prepare weak-node-api
@@ -125,6 +131,8 @@ jobs:
125131
with:
126132
packages: tools platform-tools ndk;${{ env.NDK_VERSION }}
127133
- run: rustup target add x86_64-linux-android aarch64-linux-android armv7-linux-androideabi i686-linux-android aarch64-apple-ios-sim
134+
- name: Setup Clang Format
135+
run: npm install --global clang-format
128136
- run: npm ci
129137
- run: npm run bootstrap
130138
env:
@@ -159,6 +167,8 @@ jobs:
159167
with:
160168
cmake-version: ${{ env.CMAKE_VERSION }}
161169
- run: rustup target add x86_64-apple-darwin
170+
- name: Setup Clang Format
171+
run: npm install --global clang-format
162172
- run: npm ci
163173
- run: npm run bootstrap
164174
env:
@@ -189,6 +199,8 @@ jobs:
189199
with:
190200
packages: tools platform-tools ndk;${{ env.NDK_VERSION }} cmake;${{ env.CMAKE_VERSION }}
191201
- run: rustup target add x86_64-linux-android aarch64-linux-android armv7-linux-androideabi i686-linux-android aarch64-apple-ios-sim
202+
- name: Setup Clang Format
203+
run: npm install --global clang-format
192204
- run: npm ci
193205
- run: npm run bootstrap
194206
env:

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ jobs:
3131
with:
3232
packages: tools platform-tools ndk;${{ env.NDK_VERSION }}
3333
- run: rustup target add x86_64-linux-android aarch64-linux-android armv7-linux-androideabi i686-linux-android aarch64-apple-ios-sim
34+
- name: Setup Clang Format
35+
run: npm install --global clang-format
3436
- run: npm install
3537

3638
- name: Create Release Pull Request or Publish to NPM

0 commit comments

Comments
 (0)