Skip to content

Commit e626324

Browse files
committed
chore: formatting
Signed-off-by: Ivan Ivanov <ivanivanov.ii726@gmail.com>
1 parent 9278b81 commit e626324

1 file changed

Lines changed: 38 additions & 37 deletions

File tree

.github/workflows/build.yml

Lines changed: 38 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ on:
1515
branches:
1616
- main
1717
concurrency:
18-
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
19-
cancel-in-progress: true
18+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
19+
cancel-in-progress: true
2020

2121
jobs:
2222
build:
@@ -26,12 +26,12 @@ jobs:
2626
- name: Harden Runner
2727
uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
2828
with:
29-
egress-policy: audit
29+
egress-policy: audit
3030

3131
- name: Setup GCC
3232
run: |
33-
sudo apt-get update
34-
sudo apt-get install -y --no-install-recommends gcc libc6-dev libc-dev
33+
sudo apt-get update
34+
sudo apt-get install -y --no-install-recommends gcc libc6-dev libc-dev
3535
3636
- name: Set up Go 1.24
3737
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
@@ -64,11 +64,11 @@ jobs:
6464
- build
6565

6666
strategy:
67-
matrix:
68-
test-type: [unit, e2e]
67+
matrix:
68+
test-type: [unit, e2e]
6969

7070
env:
71-
HEDERA_NETWORK: "localhost"
71+
HEDERA_NETWORK: "localhost"
7272

7373
steps:
7474
- name: Harden Runner
@@ -79,12 +79,12 @@ jobs:
7979
- name: Setup NodeJS
8080
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
8181
with:
82-
node-version: 22
82+
node-version: 22
8383

8484
- name: Setup GCC
8585
run: |
86-
sudo apt-get update
87-
sudo apt-get install -y --no-install-recommends gcc libc6-dev libc-dev
86+
sudo apt-get update
87+
sudo apt-get install -y --no-install-recommends gcc libc6-dev libc-dev
8888
8989
- name: Set up Go 1.24
9090
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
@@ -100,15 +100,16 @@ jobs:
100100
id: solo
101101
uses: hiero-ledger/hiero-solo-action@a39acf8cfbaa2feb195a86530d0ab643a45aa541 # v0.10.0
102102
with:
103-
installMirrorNode: true
104-
hieroVersion: v0.64.2-rc1
105-
mirrorNodeVersion: v0.134.0
103+
installMirrorNode: true
104+
hieroVersion: v0.64.2-rc1
105+
mirrorNodeVersion: v0.134.0
106106

107107
- name: Set Operator Account
108108
if: success() && matrix.test-type == 'e2e'
109109
run: |
110-
echo "OPERATOR_KEY=${{ steps.solo.outputs.ed25519PrivateKey }}" >> $GITHUB_ENV
111-
echo "OPERATOR_ID=${{ steps.solo.outputs.ed25519AccountId }}" >> $GITHUB_ENV
110+
echo "OPERATOR_KEY=${{ steps.solo.outputs.ed25519PrivateKey }}" >> $GITHUB_ENV
111+
echo "OPERATOR_ID=${{ steps.solo.outputs.ed25519AccountId }}" >> $GITHUB_ENV
112+
112113
113114
- name: Tests Unit
114115
if: success() && matrix.test-type == 'unit'
@@ -122,15 +123,15 @@ jobs:
122123
if: success() && matrix.test-type == 'unit'
123124
uses: codecov/codecov-action@015f24e6818733317a2da2edd6290ab26238649a # v5.0.7
124125
with:
125-
token: ${{ secrets.CODECOV_TOKEN }}
126-
files: ./unit.out
126+
token: ${{ secrets.CODECOV_TOKEN }}
127+
files: ./unit.out
127128

128129
- name: Upload e2e test coverage to Codecov
129130
if: success() && matrix.test-type == 'e2e'
130131
uses: codecov/codecov-action@015f24e6818733317a2da2edd6290ab26238649a # v5.0.7
131132
with:
132-
token: ${{ secrets.CODECOV_TOKEN }}
133-
files: ./e2e.out
133+
token: ${{ secrets.CODECOV_TOKEN }}
134+
files: ./e2e.out
134135

135136
run-examples:
136137
name: Run Examples
@@ -140,7 +141,7 @@ jobs:
140141
needs:
141142
- build
142143
env:
143-
HEDERA_NETWORK: "localhost"
144+
HEDERA_NETWORK: "localhost"
144145

145146
steps:
146147
- name: Harden Runner
@@ -151,12 +152,12 @@ jobs:
151152
- name: Setup NodeJS
152153
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
153154
with:
154-
node-version: 22
155+
node-version: 22
155156

156157
- name: Setup GCC
157158
run: |
158-
sudo apt-get update
159-
sudo apt-get install -y --no-install-recommends gcc libc6-dev libc-dev
159+
sudo apt-get update
160+
sudo apt-get install -y --no-install-recommends gcc libc6-dev libc-dev
160161
161162
- name: Set up Go 1.24
162163
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
@@ -174,14 +175,14 @@ jobs:
174175
id: solo
175176
uses: hiero-ledger/hiero-solo-action@a39acf8cfbaa2feb195a86530d0ab643a45aa541 # v0.10.0
176177
with:
177-
installMirrorNode: true
178-
hieroVersion: v0.64.2-rc1
179-
mirrorNodeVersion: v0.134.0
178+
installMirrorNode: true
179+
hieroVersion: v0.64.2-rc1
180+
mirrorNodeVersion: v0.134.0
180181

181182
- name: Set Operator Account
182183
run: |
183-
echo "OPERATOR_KEY=${{ steps.solo.outputs.ed25519PrivateKey }}" >> $GITHUB_ENV
184-
echo "OPERATOR_ID=${{ steps.solo.outputs.ed25519AccountId }}" >> $GITHUB_ENV
184+
echo "OPERATOR_KEY=${{ steps.solo.outputs.ed25519PrivateKey }}" >> $GITHUB_ENV
185+
echo "OPERATOR_ID=${{ steps.solo.outputs.ed25519AccountId }}" >> $GITHUB_ENV
185186
186187
- name: Run Examples
187188
if: success()
@@ -194,12 +195,12 @@ jobs:
194195
- name: Harden Runner
195196
uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
196197
with:
197-
egress-policy: audit
198+
egress-policy: audit
198199

199200
- name: Setup GCC
200201
run: |
201-
sudo apt-get update
202-
sudo apt-get install -y --no-install-recommends gcc libc6-dev libc-dev
202+
sudo apt-get update
203+
sudo apt-get install -y --no-install-recommends gcc libc6-dev libc-dev
203204
204205
- name: Set up Go 1.24
205206
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
@@ -216,15 +217,15 @@ jobs:
216217

217218
- name: Build TCK
218219
run: go build -v ./...
219-
working-directory: ./tck
220+
working-directory: ./tck
220221

221222
- name: Lint TCK
222223
uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8.0.0
223224
with:
224225
skip-cache: true
225-
args: --timeout=5m
226-
working-directory: ./tck
227-
226+
args: --timeout=5m
227+
working-directory: ./tck
228+
228229
- name: Test TCK
229230
run: go test ./...
230-
working-directory: ./tck
231+
working-directory: ./tck

0 commit comments

Comments
 (0)