3636 outputs :
3737 path-filter : ${{ steps.filter.outputs.path-filter }}
3838 steps :
39- - uses : actions/checkout@v3
39+ - uses : actions/checkout@v4
4040 if : github.event_name == 'pull_request'
4141
4242 - uses : dorny/paths-filter@v2
5252 outputs :
5353 path-filter : ${{ steps.filter.outputs.path-filter }}
5454 steps :
55- - uses : actions/checkout@v3
55+ - uses : actions/checkout@v4
5656 if : github.event_name == 'pull_request'
5757
5858 - uses : dorny/paths-filter@v2
7171 || needs.client-detect-changes.outputs.path-filter == 'true'
7272 runs-on : ubuntu-latest
7373 steps :
74- - uses : actions/checkout@v3
74+ - uses : actions/checkout@v4
7575 with :
7676 # Fetch the whole history for the `git describe` command to work.
7777 fetch-depth : 0
@@ -88,18 +88,18 @@ jobs:
8888 environment : ${{ github.event.inputs.environment }}
8989
9090 - name : Set up Docker Buildx
91- uses : docker/setup-buildx-action@v2
91+ uses : docker/setup-buildx-action@v3
9292
9393 - name : Cache Docker layers
94- uses : actions/cache@v3
94+ uses : actions/cache@v4
9595 with :
9696 path : /tmp/.buildx-cache
9797 key : ${{ runner.os }}-buildx-${{ github.sha }}
9898 restore-keys : |
9999 ${{ runner.os }}-buildx-
100100
101101 - name : Build Docker Build Image
102- uses : docker/build-push-action@v3
102+ uses : docker/build-push-action@v5
103103 with :
104104 target : build-docker
105105 tags : go-build-env
@@ -123,7 +123,7 @@ jobs:
123123 docker save --output /tmp/go-build-env-image.tar go-build-env
124124
125125 - name : Upload Docker Build Image
126- uses : actions/upload-artifact@v3
126+ uses : actions/upload-artifact@v4
127127 with :
128128 name : go-build-env-image
129129 path : /tmp/go-build-env-image.tar
@@ -133,11 +133,11 @@ jobs:
133133 docker run \
134134 --workdir /go/src/github.com/keep-network/keep-core \
135135 go-build-env \
136- gotestsum
136+ gotestsum -- -timeout 15m
137137
138138 - name : Build Docker Runtime Image
139139 if : github.event_name != 'workflow_dispatch'
140- uses : docker/build-push-action@v3
140+ uses : docker/build-push-action@v5
141141 with :
142142 target : runtime-docker
143143 labels : |
@@ -148,15 +148,15 @@ jobs:
148148
149149 - name : Login to Google Container Registry
150150 if : github.event_name == 'workflow_dispatch'
151- uses : docker/login-action@v2
151+ uses : docker/login-action@v3
152152 with :
153153 registry : ${{ env.GCR_REGISTRY_URL }}
154154 username : _json_key
155155 password : ${{ secrets.KEEP_TEST_GCR_JSON_KEY }}
156156
157157 - name : Build and publish Docker Runtime Image
158158 if : github.event_name == 'workflow_dispatch'
159- uses : docker/build-push-action@v3
159+ uses : docker/build-push-action@v5
160160 env :
161161 IMAGE_NAME : " keep-client"
162162 with :
@@ -177,7 +177,7 @@ jobs:
177177 context : .
178178
179179 - name : Build Client Binaries
180- uses : docker/build-push-action@v3
180+ uses : docker/build-push-action@v5
181181 with :
182182 target : output-bins
183183 outputs : type=local,dest=./out/bin/
@@ -189,7 +189,7 @@ jobs:
189189 context : .
190190
191191 - name : Archive Client Binaries
192- uses : actions/upload-artifact@v3
192+ uses : actions/upload-artifact@v4
193193 with :
194194 name : binaries
195195 path : |
@@ -240,10 +240,11 @@ jobs:
240240 env :
241241 GO111MODULE : on
242242 steps :
243- - uses : actions/checkout@v3
243+ - uses : actions/checkout@v4
244244 - uses : securego/gosec@master
245245 with :
246246 args : |
247+ -exclude=G115
247248 -exclude-dir=pkg/chain/ethereum/beacon/gen
248249 -exclude-dir=pkg/chain/ethereum/ecdsa/gen
249250 -exclude-dir=pkg/chain/ethereum/threshold/gen
@@ -257,8 +258,8 @@ jobs:
257258 || needs.client-detect-changes.outputs.path-filter == 'true'
258259 runs-on : ubuntu-latest
259260 steps :
260- - uses : actions/checkout@v3
261- - uses : actions/setup-go@v3
261+ - uses : actions/checkout@v4
262+ - uses : actions/setup-go@v5
262263 with :
263264 go-version-file : " go.mod"
264265 - name : gofmt
@@ -275,8 +276,8 @@ jobs:
275276 || needs.client-detect-changes.outputs.path-filter == 'true'
276277 runs-on : ubuntu-latest
277278 steps :
278- - uses : actions/checkout@v3
279- - uses : actions/setup-go@v3
279+ - uses : actions/checkout@v4
280+ - uses : actions/setup-go@v5
280281 with :
281282 go-version-file : " go.mod"
282283 - run : go vet
@@ -288,15 +289,16 @@ jobs:
288289 || needs.client-detect-changes.outputs.path-filter == 'true'
289290 runs-on : ubuntu-latest
290291 steps :
291- - uses : actions/checkout@v3
292- - uses : actions/setup-go@v3
292+ - uses : actions/checkout@v4
293+ - uses : actions/setup-go@v5
293294 with :
294295 go-version-file : " go.mod"
295296 - name : Staticcheck
296- uses : dominikh/staticcheck-action@v1.3 .0
297+ uses : dominikh/staticcheck-action@v1.4 .0
297298 with :
298- version : " 2023 .1.6 "
299+ version : " 2025 .1.1 "
299300 install-go : false
301+ checks : " -SA1019"
300302
301303 client-integration-test :
302304 needs : [electrum-integration-detect-changes, client-build-test-publish]
@@ -306,10 +308,10 @@ jobs:
306308 runs-on : ubuntu-latest
307309 steps :
308310 - name : Set up Docker Buildx
309- uses : docker/setup-buildx-action@v2
311+ uses : docker/setup-buildx-action@v3
310312
311313 - name : Download Docker Build Image
312- uses : actions/download-artifact@v3
314+ uses : actions/download-artifact@v4
313315 with :
314316 name : go-build-env-image
315317 path : /tmp
0 commit comments