@@ -30,12 +30,12 @@ jobs:
30
30
pre-version : ${{ steps.set-product-version.outputs.prerelease-product-version }}
31
31
shared-ldflags : ${{ steps.shared-ldflags.outputs.shared-ldflags }}
32
32
steps :
33
- - uses : actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
33
+ - uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
34
34
# action-set-product-version implicitly sets fields like 'product-version' using version/VERSION
35
35
# https://github.com/hashicorp/actions-set-product-version
36
36
- name : set product version
37
37
id : set-product-version
38
- uses : hashicorp/actions-set-product-version@v1
38
+ uses : hashicorp/actions-set-product-version@v2
39
39
- name : get product version
40
40
id : get-product-version
41
41
run : |
@@ -70,15 +70,15 @@ jobs:
70
70
filepath : ${{ steps.generate-metadata-file.outputs.filepath }}
71
71
steps :
72
72
- name : ' Checkout directory'
73
- uses : actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
73
+ uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
74
74
- name : Generate metadata file
75
75
id : generate-metadata-file
76
76
uses : hashicorp/actions-generate-metadata@v1
77
77
with :
78
78
version : ${{ needs.set-product-version.outputs.product-version }}
79
79
product : ${{ env.PKG_NAME }}
80
80
81
- - uses : actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
81
+ - uses : actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
82
82
with :
83
83
name : metadata.json
84
84
path : ${{ steps.generate-metadata-file.outputs.filepath }}
@@ -104,10 +104,10 @@ jobs:
104
104
105
105
name : Go ${{ needs.get-go-version.outputs.go-version }} ${{ matrix.goos }} ${{ matrix.goarch }} build
106
106
steps :
107
- - uses : actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
107
+ - uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
108
108
109
109
- name : Setup with node and yarn
110
- uses : actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # v3.7.0
110
+ uses : actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
111
111
with :
112
112
node-version : ' 18'
113
113
cache : ' yarn'
@@ -179,13 +179,13 @@ jobs:
179
179
echo "RPM_PACKAGE=$(basename out/*.rpm)" >> $GITHUB_ENV
180
180
echo "DEB_PACKAGE=$(basename out/*.deb)" >> $GITHUB_ENV
181
181
182
- - uses : actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
182
+ - uses : actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
183
183
if : ${{ matrix.goos == 'linux' }}
184
184
with :
185
185
name : ${{ env.RPM_PACKAGE }}
186
186
path : out/${{ env.RPM_PACKAGE }}
187
187
188
- - uses : actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
188
+ - uses : actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
189
189
if : ${{ matrix.goos == 'linux' }}
190
190
with :
191
191
name : ${{ env.DEB_PACKAGE }}
@@ -205,10 +205,10 @@ jobs:
205
205
206
206
name : Go ${{ needs.get-go-version.outputs.go-version }} ${{ matrix.goos }} ${{ matrix.goarch }} build
207
207
steps :
208
- - uses : actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
208
+ - uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
209
209
210
210
- name : Setup with node and yarn
211
- uses : actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # v3.7.0
211
+ uses : actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
212
212
with :
213
213
node-version : ' 18'
214
214
cache : ' yarn'
@@ -259,10 +259,10 @@ jobs:
259
259
260
260
name : Go ${{ needs.get-go-version.outputs.go-version }} ${{ matrix.goos }} ${{ matrix.goarch }} build
261
261
steps :
262
- - uses : actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
262
+ - uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
263
263
264
264
- name : Setup with node and yarn
265
- uses : actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # v3.7.0
265
+ uses : actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
266
266
with :
267
267
node-version : ' 18'
268
268
cache : ' yarn'
@@ -316,7 +316,7 @@ jobs:
316
316
version : ${{needs.set-product-version.outputs.product-version}}
317
317
318
318
steps :
319
- - uses : actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
319
+ - uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
320
320
321
321
# Strip everything but MAJOR.MINOR from the version string and add a `-dev` suffix
322
322
# This naming convention will be used ONLY for per-commit dev images
@@ -328,7 +328,7 @@ jobs:
328
328
echo "minor_dev_tag=$(echo ${{ env.version }}| sed -E 's/([0-9]+\.[0-9]+)\.[0-9]+(-[0-9a-zA-Z\+\.]+)?$/\1\2/')" >> $GITHUB_ENV
329
329
330
330
- name : Docker Build (Action)
331
- uses : hashicorp/actions-docker-build@v1
331
+ uses : hashicorp/actions-docker-build@v2
332
332
with :
333
333
version : ${{env.version}}
334
334
target : default
@@ -354,7 +354,7 @@ jobs:
354
354
version : ${{needs.set-product-version.outputs.product-version}}
355
355
356
356
steps :
357
- - uses : actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
357
+ - uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
358
358
359
359
# Strip everything but MAJOR.MINOR from the version string and add a `-dev` suffix
360
360
# This naming convention will be used ONLY for per-commit dev images
@@ -365,7 +365,7 @@ jobs:
365
365
echo "minor_dev_tag=$(echo ${{ env.version }}| sed -E 's/([0-9]+\.[0-9]+)\.[0-9]+(-[0-9a-zA-Z\+\.]+)?$/\1\2/')"
366
366
echo "minor_dev_tag=$(echo ${{ env.version }}| sed -E 's/([0-9]+\.[0-9]+)\.[0-9]+(-[0-9a-zA-Z\+\.]+)?$/\1\2/')" >> $GITHUB_ENV
367
367
368
- - uses : hashicorp/actions-docker-build@v1
368
+ - uses : hashicorp/actions-docker-build@v2
369
369
with :
370
370
version : ${{env.version}}
371
371
target : ubi
@@ -400,17 +400,17 @@ jobs:
400
400
401
401
name : Verify ${{ matrix.arch }} linux binary
402
402
steps :
403
- - uses : actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
403
+ - uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
404
404
if : ${{ endsWith(github.repository, '-enterprise') || matrix.arch != 's390x' }}
405
405
406
406
- name : Download ${{ matrix.arch }} zip
407
407
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
409
409
with :
410
410
name : ${{ env.zip_name }}
411
411
412
412
- name : Set up QEMU
413
- uses : docker/setup-qemu-action@2b82ce82d56a2a04d2637cd93a637ae1b359c0a7 # v2.2 .0
413
+ uses : docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3.0 .0
414
414
if : ${{ matrix.arch == 'arm' || matrix.arch == 'arm64' }}
415
415
with :
416
416
# this should be a comma-separated string as opposed to an array
@@ -433,10 +433,10 @@ jobs:
433
433
434
434
name : Verify amd64 darwin binary
435
435
steps :
436
- - uses : actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
436
+ - uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
437
437
438
438
- name : Download amd64 darwin zip
439
- uses : actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
439
+ uses : actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
440
440
with :
441
441
name : ${{ env.zip_name }}
442
442
@@ -464,7 +464,7 @@ jobs:
464
464
465
465
name : Verify ${{ matrix.arch }} debian package
466
466
steps :
467
- - uses : actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
467
+ - uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
468
468
469
469
- name : Set package version
470
470
run : |
@@ -475,12 +475,12 @@ jobs:
475
475
echo "pkg_name=consul_${{ env.pkg_version }}-1_${{ matrix.arch }}.deb" >> $GITHUB_ENV
476
476
477
477
- name : Download workflow artifacts
478
- uses : actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
478
+ uses : actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
479
479
with :
480
480
name : ${{ env.pkg_name }}
481
481
482
482
- name : Set up QEMU
483
- uses : docker/setup-qemu-action@2b82ce82d56a2a04d2637cd93a637ae1b359c0a7 # v2.2 .0
483
+ uses : docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3.0 .0
484
484
with :
485
485
platforms : all
486
486
@@ -505,7 +505,7 @@ jobs:
505
505
506
506
name : Verify ${{ matrix.arch }} rpm
507
507
steps :
508
- - uses : actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
508
+ - uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
509
509
510
510
- name : Set package version
511
511
run : |
@@ -516,12 +516,12 @@ jobs:
516
516
echo "pkg_name=consul-${{ env.pkg_version }}-1.${{ matrix.arch }}.rpm" >> $GITHUB_ENV
517
517
518
518
- name : Download workflow artifacts
519
- uses : actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
519
+ uses : actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
520
520
with :
521
521
name : ${{ env.pkg_name }}
522
522
523
523
- name : Set up QEMU
524
- uses : docker/setup-qemu-action@2b82ce82d56a2a04d2637cd93a637ae1b359c0a7 # v2.2 .0
524
+ uses : docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3.0 .0
525
525
with :
526
526
platforms : all
527
527
0 commit comments