Skip to content

Commit f59cce8

Browse files
committed
feat: Add clang-format to workflow
Signed-off-by: gsstoykov <[email protected]>
1 parent c725fcb commit f59cce8

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/zxc-build-library.yaml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,12 @@ jobs:
5454
with:
5555
egress-policy: audit
5656

57+
- name: Run Clang-Format
58+
uses: jidicula/clang-format-action@c74383674bf5f7c69f60ce562019c1c94bc1421a # v4.13.0
59+
with:
60+
clang-format-version: "17"
61+
check-path: "src"
62+
5763
- name: Setup Control Groups
5864
id: cgroup
5965
run: |
@@ -156,7 +162,7 @@ jobs:
156162
run: sudo npm install -g @hashgraph/[email protected]
157163

158164
- name: Install Solo Required Tools
159-
run: |
165+
run: |
160166
sudo curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
161167
sudo chmod +x ./kubectl
162168
sudo mv ./kubectl /usr/local/bin/kubectl
@@ -294,7 +300,7 @@ jobs:
294300
run: |
295301
cmake --preset macos-arm64-release
296302
cmake --build --preset macos-arm64-release -j 4
297-
303+
298304
- name: Compute Short SHA
299305
id: sha
300306
run: echo "short=$(echo -n "${{ github.sha }}" | cut -c1-8)" >> $GITHUB_OUTPUT
@@ -304,4 +310,4 @@ jobs:
304310
with:
305311
name: hapi-library-${{ runner.os }}-${{ steps.sha.outputs.short }}
306312
path: package/
307-
if-no-files-found: warn
313+
if-no-files-found: warn

0 commit comments

Comments
 (0)