3131
3232 steps :
3333 - name : 📥 Checkout repository
34- uses : actions/checkout@v3
34+ uses : actions/checkout@v5
3535 with :
3636 submodules : true
3737
@@ -44,14 +44,14 @@ jobs:
4444 echo "version=$VERSION" >> $GITHUB_OUTPUT
4545
4646 - name : Install Nix with good defaults
47- uses : cachix/install-nix-action@v22
47+ uses : cachix/install-nix-action@v31
4848 with :
4949 extra_nix_config : |
5050 trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=
5151 substituters = https://cache.iog.io/ https://cache.nixos.org/
5252 nix_path : nixpkgs=channel:nixos-unstable
5353
54- - uses : cachix/cachix-action@v14
54+ - uses : cachix/cachix-action@v17
5555 with :
5656 name : cardano-ogmios
5757 authToken : ' ${{ secrets.CACHIX_AUTH_TOKEN }}'
6969 nix develop github:input-output-hk/devx/${{ matrix.devx-version}}#${{ matrix.compiler }}-static-minimal-iog --no-write-lock-file --refresh --command bash -c "cat /nix/store/hviyb5sciblcyr5fc3vsqcwmfh1nz69w-cabal.project.local >> cabal.project.local && cabal update && cabal freeze"
7070
7171 - name : 💾 Download Cache
72- uses : actions/cache/restore@v4
72+ uses : actions/cache/restore@v5
7373 with :
7474 path : |
7575 ~/.cabal-static/packages
8787 GIT_SHA : ${{ github.sha }}
8888
8989 - name : 💾 Save Cache
90- uses : actions/cache/save@v4
90+ uses : actions/cache/save@v5
9191 with :
9292 path : |
9393 ~/.cabal-static/packages
@@ -149,7 +149,7 @@ jobs:
149149 CABAL : ${{ steps.version.outputs.version }}
150150
151151 - name : 📎 Upload Artifact
152- uses : actions/upload-artifact@v4
152+ uses : actions/upload-artifact@v7
153153 with :
154154 name : ogmios-${{ github.sha }}-${{ matrix.arch }}-${{ matrix.os }}
155155 path : |
@@ -172,7 +172,7 @@ jobs:
172172 runs-on : ${{ matrix.os }}
173173 steps :
174174 - name : 📥 Checkout repository
175- uses : actions/checkout@v3.5.3
175+ uses : actions/checkout@v5
176176 with :
177177 submodules : true
178178
@@ -232,7 +232,7 @@ jobs:
232232 runs-on : ${{ matrix.os == 'linux' && 'ubuntu-22.04' }}
233233 steps :
234234 - name : 📥 Checkout repository
235- uses : actions/checkout@v3
235+ uses : actions/checkout@v5
236236 with :
237237 submodules : true
238238
@@ -243,7 +243,7 @@ jobs:
243243 echo "::set-output name=value::$(/bin/date -u "+%Y%m%d-%H%M%S")"
244244
245245 - name : 🧰 Setup Node.js
246- uses : actions/setup-node@v3.7.0
246+ uses : actions/setup-node@v5
247247 with :
248248 node-version : lts/jod
249249
@@ -255,14 +255,14 @@ jobs:
255255 yarn lint
256256
257257 - name : 📥 Download
258- uses : actions/download-artifact@v4
258+ uses : actions/download-artifact@v7
259259 with :
260260 name : ogmios-${{ github.sha }}-${{ matrix.arch }}-${{ matrix.os }}
261261 path : server
262262
263263 - name : 💾 Cache cardano-node DB
264264 id : cache
265- uses : actions/cache@v4
265+ uses : actions/cache@v5
266266 with :
267267 path : ${{ runner.temp }}/db-${{ matrix.network }}
268268 key : cardano-node-ogmios-${{ matrix.network }}-${{ steps.date-time.outputs.value }}
@@ -316,10 +316,10 @@ jobs:
316316 target : [linux,macos,win.exe]
317317 steps :
318318 - name : 📥 Checkout repository
319- uses : actions/checkout@v3.5.3
319+ uses : actions/checkout@v5
320320
321321 - name : 🧰 Setup Node.js
322- uses : actions/setup-node@v3.7.0
322+ uses : actions/setup-node@v5
323323 with :
324324 node-version : lts/jod
325325
@@ -330,7 +330,7 @@ jobs:
330330 yarn repl:pkg
331331
332332 - name : 📎 Upload REPL exe
333- uses : actions/upload-artifact@v4
333+ uses : actions/upload-artifact@v7
334334 with :
335335 name : cardano-ogmios-repl-${{ matrix.target }}-${{ github.sha }}
336336 path : clients/TypeScript/packages/repl/build/cardano-ogmios-repl-${{ matrix.target }}
@@ -357,10 +357,10 @@ jobs:
357357 package : [ schema, client, repl ]
358358 steps :
359359 - name : 📥 Checkout repository
360- uses : actions/checkout@v3.5.3
360+ uses : actions/checkout@v5
361361
362362 - name : 🧰 Setup Node.js
363- uses : actions/setup-node@v3.7.0
363+ uses : actions/setup-node@v5
364364 with :
365365 node-version : lts/jod
366366
@@ -371,7 +371,7 @@ jobs:
371371 ./scripts/pack.sh
372372
373373 - name : 📎 Upload npm packages
374- uses : actions/upload-artifact@v4
374+ uses : actions/upload-artifact@v7
375375 with :
376376 name : cardano-ogmios-clients-ts-packages
377377 path : |
@@ -381,7 +381,7 @@ jobs:
381381
382382 - name : 📤 Publish client package to npm registry
383383 if : ${{ startsWith(github.ref, 'refs/tags') }}
384- uses : JS-DevTools/npm-publish@v2
384+ uses : JS-DevTools/npm-publish@v4
385385 with :
386386 package : clients/TypeScript/packages/${{ matrix.package }}/package.json
387387 strategy : upgrade
@@ -409,12 +409,12 @@ jobs:
409409 arch : [ x86_64 ]
410410 steps :
411411 - name : 📥 Checkout repository
412- uses : actions/checkout@v3
412+ uses : actions/checkout@v5
413413 with :
414414 submodules : true
415415
416416 - name : 🧰 Set up Docker Buildx
417- uses : docker/setup-buildx-action@v3
417+ uses : docker/setup-buildx-action@v4
418418
419419 - name : 🧐 hadolint
420420 uses : brpaz/hadolint-action@v1.5.0
@@ -425,7 +425,7 @@ jobs:
425425
426426 - name : 🐳 Login to DockerHub
427427 if : ${{ github.event_name == 'push' }}
428- uses : docker/login-action@v1
428+ uses : docker/login-action@v4
429429 with :
430430 username : ${{ secrets.DOCKERHUB_USERNAME }}
431431 password : ${{ secrets.DOCKERHUB_ACCESS_TOKEN }}
@@ -442,15 +442,15 @@ jobs:
442442 echo "tag=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_OUTPUT
443443
444444 - name : 📥 Download
445- uses : actions/download-artifact@v4
445+ uses : actions/download-artifact@v7
446446 with :
447447 name : ogmios-${{ github.sha }}-${{ matrix.arch }}-${{ matrix.os }}
448448 path : server
449449
450450 - name : " 📸 :latest"
451451 id : build
452452 if : ${{ github.event_name == 'push' && matrix.network == 'mainnet' && github.ref == 'refs/heads/master' }}
453- uses : docker/build-push-action@v4
453+ uses : docker/build-push-action@v7
454454 with :
455455 build-args : |
456456 NETWORK=${{ matrix.network }}
@@ -465,7 +465,7 @@ jobs:
465465
466466 - name : " 📸 :latest-${{ matrix.network }}"
467467 if : ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
468- uses : docker/build-push-action@v4
468+ uses : docker/build-push-action@v7
469469 with :
470470 build-args : |
471471 NETWORK=${{ matrix.network }}
@@ -480,7 +480,7 @@ jobs:
480480
481481 - name : " 🏷️ :v*.*.*"
482482 if : ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags') && matrix.network == 'mainnet' }}
483- uses : docker/build-push-action@v4
483+ uses : docker/build-push-action@v7
484484 with :
485485 build-args : |
486486 NETWORK=${{ matrix.network }}
@@ -495,7 +495,7 @@ jobs:
495495
496496 - name : " 🏷️ :v*.*.*-${{ matrix.network }}"
497497 if : ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags') }}
498- uses : docker/build-push-action@v4
498+ uses : docker/build-push-action@v7
499499 with :
500500 build-args : |
501501 NETWORK=${{ matrix.network }}
@@ -518,12 +518,12 @@ jobs:
518518 arch : [ x86_64, aarch64 ]
519519 steps :
520520 - name : 📥 Checkout repository
521- uses : actions/checkout@v3
521+ uses : actions/checkout@v5
522522 with :
523523 submodules : true
524524
525525 - name : 🧰 Set up Docker Buildx
526- uses : docker/setup-buildx-action@v3
526+ uses : docker/setup-buildx-action@v4
527527
528528 - name : 🧐 hadolint
529529 uses : brpaz/hadolint-action@v1.5.0
@@ -534,7 +534,7 @@ jobs:
534534
535535 - name : 🐳 Login to DockerHub
536536 if : ${{ github.event_name == 'push' }}
537- uses : docker/login-action@v1
537+ uses : docker/login-action@v4
538538 with :
539539 username : ${{ secrets.DOCKERHUB_USERNAME }}
540540 password : ${{ secrets.DOCKERHUB_ACCESS_TOKEN }}
@@ -552,23 +552,23 @@ jobs:
552552
553553 - name : 📝 Docker metadata
554554 id : meta
555- uses : docker/metadata-action@v5
555+ uses : docker/metadata-action@v6
556556 with :
557557 images : ${{ steps.base-variables.outputs.image }}
558558 tags : |
559559 type=raw,value=latest,enable={{is_default_branch}}
560560 type=semver,pattern=v{{version}}
561561
562562 - name : 📥 Download
563- uses : actions/download-artifact@v4
563+ uses : actions/download-artifact@v7
564564 with :
565565 name : ogmios-${{ github.sha }}-${{ matrix.arch }}-${{ matrix.os }}
566566 path : server
567567
568568 - name : 📸 Build image
569569 id : build
570570 if : ${{ github.event_name == 'push' }}
571- uses : docker/build-push-action@v4
571+ uses : docker/build-push-action@v7
572572 with :
573573 context : .
574574 target : ${{ matrix.target }}
@@ -586,7 +586,7 @@ jobs:
586586
587587 - name : 💾 Upload digest
588588 if : ${{ github.event_name == 'push' }}
589- uses : actions/upload-artifact@v4
589+ uses : actions/upload-artifact@v7
590590 with :
591591 name : digests-${{ matrix.arch == 'x86_64' && 'amd64' || 'arm64' }}
592592 path : /tmp/digests/*
@@ -601,19 +601,19 @@ jobs:
601601 target : [ ogmios ]
602602 steps :
603603 - name : 📥 Download digests (amd)
604- uses : actions/download-artifact@v4
604+ uses : actions/download-artifact@v7
605605 with :
606606 name : digests-amd64
607607 path : /tmp/digests
608608
609609 - name : 📥 Download digests (arm)
610- uses : actions/download-artifact@v4
610+ uses : actions/download-artifact@v7
611611 with :
612612 name : digests-arm64
613613 path : /tmp/digests
614614
615615 - name : 🧰 Set up Docker Buildx
616- uses : docker/setup-buildx-action@v3
616+ uses : docker/setup-buildx-action@v4
617617
618618 - name : 📝 Base Variables
619619 id : base-variables
@@ -622,7 +622,7 @@ jobs:
622622
623623 - name : 📝 Docker metadata
624624 id : meta
625- uses : docker/metadata-action@v5
625+ uses : docker/metadata-action@v6
626626 with :
627627 images : ${{ steps.base-variables.outputs.image }}
628628 tags : |
@@ -631,7 +631,7 @@ jobs:
631631
632632 - name : 🐳 Login to DockerHub
633633 if : ${{ github.event_name == 'push' }}
634- uses : docker/login-action@v3
634+ uses : docker/login-action@v4
635635 with :
636636 username : ${{ secrets.DOCKERHUB_USERNAME }}
637637 password : ${{ secrets.DOCKERHUB_ACCESS_TOKEN }}
0 commit comments