@@ -30,12 +30,12 @@ jobs:
3030 pre-version : ${{ steps.set-product-version.outputs.prerelease-product-version }}
3131 shared-ldflags : ${{ steps.shared-ldflags.outputs.shared-ldflags }}
3232 steps :
33- - uses : actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
33+ - uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
3434 # action-set-product-version implicitly sets fields like 'product-version' using version/VERSION
3535 # https://github.com/hashicorp/actions-set-product-version
3636 - name : set product version
3737 id : set-product-version
38- uses : hashicorp/actions-set-product-version@v1
38+ uses : hashicorp/actions-set-product-version@v2
3939 - name : get product version
4040 id : get-product-version
4141 run : |
@@ -70,15 +70,15 @@ jobs:
7070 filepath : ${{ steps.generate-metadata-file.outputs.filepath }}
7171 steps :
7272 - name : ' Checkout directory'
73- uses : actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
73+ uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
7474 - name : Generate metadata file
7575 id : generate-metadata-file
7676 uses : hashicorp/actions-generate-metadata@v1
7777 with :
7878 version : ${{ needs.set-product-version.outputs.product-version }}
7979 product : ${{ env.PKG_NAME }}
8080
81- - uses : actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
81+ - uses : actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
8282 with :
8383 name : metadata.json
8484 path : ${{ steps.generate-metadata-file.outputs.filepath }}
@@ -104,10 +104,10 @@ jobs:
104104
105105 name : Go ${{ needs.get-go-version.outputs.go-version }} ${{ matrix.goos }} ${{ matrix.goarch }} build
106106 steps :
107- - uses : actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
107+ - uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
108108
109109 - name : Setup with node and yarn
110- uses : actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # v3.7.0
110+ uses : actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
111111 with :
112112 node-version : ' 18'
113113 cache : ' yarn'
@@ -179,13 +179,13 @@ jobs:
179179 echo "RPM_PACKAGE=$(basename out/*.rpm)" >> $GITHUB_ENV
180180 echo "DEB_PACKAGE=$(basename out/*.deb)" >> $GITHUB_ENV
181181
182- - uses : actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
182+ - uses : actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
183183 if : ${{ matrix.goos == 'linux' }}
184184 with :
185185 name : ${{ env.RPM_PACKAGE }}
186186 path : out/${{ env.RPM_PACKAGE }}
187187
188- - uses : actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
188+ - uses : actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
189189 if : ${{ matrix.goos == 'linux' }}
190190 with :
191191 name : ${{ env.DEB_PACKAGE }}
@@ -205,10 +205,10 @@ jobs:
205205
206206 name : Go ${{ needs.get-go-version.outputs.go-version }} ${{ matrix.goos }} ${{ matrix.goarch }} build
207207 steps :
208- - uses : actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
208+ - uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
209209
210210 - name : Setup with node and yarn
211- uses : actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # v3.7.0
211+ uses : actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
212212 with :
213213 node-version : ' 18'
214214 cache : ' yarn'
@@ -259,10 +259,10 @@ jobs:
259259
260260 name : Go ${{ needs.get-go-version.outputs.go-version }} ${{ matrix.goos }} ${{ matrix.goarch }} build
261261 steps :
262- - uses : actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
262+ - uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
263263
264264 - name : Setup with node and yarn
265- uses : actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # v3.7.0
265+ uses : actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
266266 with :
267267 node-version : ' 18'
268268 cache : ' yarn'
@@ -316,7 +316,7 @@ jobs:
316316 version : ${{needs.set-product-version.outputs.product-version}}
317317
318318 steps :
319- - uses : actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
319+ - uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
320320
321321 # Strip everything but MAJOR.MINOR from the version string and add a `-dev` suffix
322322 # This naming convention will be used ONLY for per-commit dev images
@@ -328,7 +328,7 @@ jobs:
328328 echo "minor_dev_tag=$(echo ${{ env.version }}| sed -E 's/([0-9]+\.[0-9]+)\.[0-9]+(-[0-9a-zA-Z\+\.]+)?$/\1\2/')" >> $GITHUB_ENV
329329
330330 - name : Docker Build (Action)
331- uses : hashicorp/actions-docker-build@v1
331+ uses : hashicorp/actions-docker-build@v2
332332 with :
333333 version : ${{env.version}}
334334 target : default
@@ -354,7 +354,7 @@ jobs:
354354 version : ${{needs.set-product-version.outputs.product-version}}
355355
356356 steps :
357- - uses : actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
357+ - uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
358358
359359 # Strip everything but MAJOR.MINOR from the version string and add a `-dev` suffix
360360 # This naming convention will be used ONLY for per-commit dev images
@@ -365,7 +365,7 @@ jobs:
365365 echo "minor_dev_tag=$(echo ${{ env.version }}| sed -E 's/([0-9]+\.[0-9]+)\.[0-9]+(-[0-9a-zA-Z\+\.]+)?$/\1\2/')"
366366 echo "minor_dev_tag=$(echo ${{ env.version }}| sed -E 's/([0-9]+\.[0-9]+)\.[0-9]+(-[0-9a-zA-Z\+\.]+)?$/\1\2/')" >> $GITHUB_ENV
367367
368- - uses : hashicorp/actions-docker-build@v1
368+ - uses : hashicorp/actions-docker-build@v2
369369 with :
370370 version : ${{env.version}}
371371 target : ubi
@@ -400,17 +400,17 @@ jobs:
400400
401401 name : Verify ${{ matrix.arch }} linux binary
402402 steps :
403- - uses : actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
403+ - uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
404404 if : ${{ endsWith(github.repository, '-enterprise') || matrix.arch != 's390x' }}
405405
406406 - name : Download ${{ matrix.arch }} zip
407407 if : ${{ endsWith(github.repository, '-enterprise') || matrix.arch != 's390x' }}
408- uses : actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
408+ uses : actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
409409 with :
410410 name : ${{ env.zip_name }}
411411
412412 - name : Set up QEMU
413- uses : docker/setup-qemu-action@2b82ce82d56a2a04d2637cd93a637ae1b359c0a7 # v2.2 .0
413+ uses : docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3.0 .0
414414 if : ${{ matrix.arch == 'arm' || matrix.arch == 'arm64' }}
415415 with :
416416 # this should be a comma-separated string as opposed to an array
@@ -433,10 +433,10 @@ jobs:
433433
434434 name : Verify amd64 darwin binary
435435 steps :
436- - uses : actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
436+ - uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
437437
438438 - name : Download amd64 darwin zip
439- uses : actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
439+ uses : actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
440440 with :
441441 name : ${{ env.zip_name }}
442442
@@ -464,7 +464,7 @@ jobs:
464464
465465 name : Verify ${{ matrix.arch }} debian package
466466 steps :
467- - uses : actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
467+ - uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
468468
469469 - name : Set package version
470470 run : |
@@ -475,12 +475,12 @@ jobs:
475475 echo "pkg_name=consul_${{ env.pkg_version }}-1_${{ matrix.arch }}.deb" >> $GITHUB_ENV
476476
477477 - name : Download workflow artifacts
478- uses : actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
478+ uses : actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
479479 with :
480480 name : ${{ env.pkg_name }}
481481
482482 - name : Set up QEMU
483- uses : docker/setup-qemu-action@2b82ce82d56a2a04d2637cd93a637ae1b359c0a7 # v2.2 .0
483+ uses : docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3.0 .0
484484 with :
485485 platforms : all
486486
@@ -505,7 +505,7 @@ jobs:
505505
506506 name : Verify ${{ matrix.arch }} rpm
507507 steps :
508- - uses : actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
508+ - uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
509509
510510 - name : Set package version
511511 run : |
@@ -516,12 +516,12 @@ jobs:
516516 echo "pkg_name=consul-${{ env.pkg_version }}-1.${{ matrix.arch }}.rpm" >> $GITHUB_ENV
517517
518518 - name : Download workflow artifacts
519- uses : actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
519+ uses : actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
520520 with :
521521 name : ${{ env.pkg_name }}
522522
523523 - name : Set up QEMU
524- uses : docker/setup-qemu-action@2b82ce82d56a2a04d2637cd93a637ae1b359c0a7 # v2.2 .0
524+ uses : docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3.0 .0
525525 with :
526526 platforms : all
527527
0 commit comments