@@ -36,6 +36,32 @@ permissions:
3636 contents : read
3737
3838jobs :
39+ lint :
40+ name : Lint
41+ runs-on : hiero-client-sdk-linux-large
42+ strategy :
43+ matrix :
44+ include :
45+ - type : sdk
46+ check-path : " src/sdk/main"
47+ - type : tck
48+ check-path : " src/tck"
49+
50+ steps :
51+ - name : Harden Runner
52+ uses : step-security/harden-runner@c6295a65d1254861815972266d5933fd6e532bdf # v2.11.1
53+ with :
54+ egress-policy : audit
55+
56+ - name : Checkout Code
57+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
58+
59+ - name : Run Clang-Format
60+ uses : jidicula/clang-format-action@4726374d1aa3c6aecf132e5197e498979588ebc8 # v4.15.0
61+ with :
62+ clang-format-version : " 17"
63+ check-path : ${{ matrix.check-path }}
64+
3965 build :
4066 name : Build
4167 runs-on : hiero-client-sdk-linux-large
@@ -101,7 +127,7 @@ jobs:
101127 submodules : true
102128
103129 - name : Use Node.js 22
104- uses : actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3 .0
130+ uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4 .0
105131 with :
106132 node-version : 22
107133
@@ -114,7 +140,7 @@ jobs:
114140 run : mkdir -p "${{ github.workspace }}/b/vcpkg_cache"
115141
116142 - name : Install CMake & Ninja
117- uses : lukka/get-cmake@56d043d188c3612951d8755da8f4b709ec951ad6 # v3.31.6
143+ uses : lukka/get-cmake@57c20a23a6cac5b90f31864439996e5b206df9dc # v4.0.1
118144 with :
119145 useCloudCache : true
120146
@@ -156,7 +182,7 @@ jobs:
156182 run : sudo npm install -g @hashgraph/solo@0.34.0
157183
158184 - name : Install Solo Required Tools
159- run : |
185+ run : |
160186 sudo curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
161187 sudo chmod +x ./kubectl
162188 sudo mv ./kubectl /usr/local/bin/kubectl
@@ -226,7 +252,7 @@ jobs:
226252 msbuild-architecture : x64
227253
228254 - name : Setup-perl
229- uses : shogo82148/actions-setup-perl@49c14f24551d2de3bf56fb107a869c3760b1875e # v1.33 .0
255+ uses : shogo82148/actions-setup-perl@22423f01bde48fb88785c007e3166fbbbd8e892a # v1.34 .0
230256 with :
231257 perl-version : " 5.32"
232258 distribution : strawberry
@@ -294,7 +320,7 @@ jobs:
294320 run : |
295321 cmake --preset macos-arm64-release
296322 cmake --build --preset macos-arm64-release -j 4
297-
323+
298324 - name : Compute Short SHA
299325 id : sha
300326 run : echo "short=$(echo -n "${{ github.sha }}" | cut -c1-8)" >> $GITHUB_OUTPUT
@@ -304,4 +330,4 @@ jobs:
304330 with :
305331 name : hapi-library-${{ runner.os }}-${{ steps.sha.outputs.short }}
306332 path : package/
307- if-no-files-found : warn
333+ if-no-files-found : warn
0 commit comments