Skip to content

Commit 3955689

Browse files
authored
Merge pull request #551 from input-output-hk/djo/update-ci-actions
Update github actions
2 parents 3f31c35 + 37d642e commit 3955689

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737

3838
steps:
3939
- name: Checkout sources
40-
uses: actions/checkout@v2
40+
uses: actions/checkout@v3
4141

4242
- name: Overriding default $CARGO_PROJECT_NAME with matrix value
4343
if: ${{ matrix.cargo_project_name }}
@@ -154,7 +154,7 @@ jobs:
154154
needs: [ build ]
155155
steps:
156156
- name: Checkout sources
157-
uses: actions/checkout@v2
157+
uses: actions/checkout@v3
158158

159159
- name: Install stable toolchain
160160
uses: actions-rs/toolchain@v1
@@ -213,7 +213,7 @@ jobs:
213213
needs: [ build ]
214214
steps:
215215
- name: Checkout sources
216-
uses: actions/checkout@v2
216+
uses: actions/checkout@v3
217217

218218
- name: Download aggregator
219219
uses: actions/download-artifact@v3
@@ -341,18 +341,18 @@ jobs:
341341

342342
steps:
343343
- name: Checkout
344-
uses: actions/checkout@v2
344+
uses: actions/checkout@v3
345345

346346
- name: Log in to the Container registry
347-
uses: docker/login-action@v1
347+
uses: docker/login-action@v2
348348
with:
349349
registry: ${{ env.REGISTRY }}
350350
username: ${{ github.actor }}
351351
password: ${{ secrets.GITHUB_TOKEN }}
352352

353353
- name: Extract metadata (tags, labels) for Docker
354354
id: meta
355-
uses: docker/metadata-action@v3
355+
uses: docker/metadata-action@v4
356356
with:
357357
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
358358
tags: |
@@ -366,7 +366,7 @@ jobs:
366366
path: ${{ matrix.project }}
367367

368368
- name: Build and push Docker image
369-
uses: docker/build-push-action@v2
369+
uses: docker/build-push-action@v3
370370
with:
371371
context: ${{ env.CONTEXT }}
372372
file: ${{ env.DOCKER_FILE }}
@@ -420,7 +420,7 @@ jobs:
420420
- docker-mithril
421421
steps:
422422
- name: Checkout sources
423-
uses: actions/checkout@v2
423+
uses: actions/checkout@v3
424424

425425
- name: Download mithril-core-doc artifact
426426
uses: actions/download-artifact@v3
@@ -507,14 +507,14 @@ jobs:
507507
steps:
508508

509509
- name: Checkout sources
510-
uses: actions/checkout@v2
510+
uses: actions/checkout@v3
511511

512512
- name: Get short SHA
513513
id: slug
514514
run: echo "::set-output name=sha8::$(echo ${{ github.sha }} | cut -c1-7)"
515515

516516
- name: Setup Terraform
517-
uses: hashicorp/setup-terraform@v1
517+
uses: hashicorp/setup-terraform@v2
518518
with:
519519
terraform_wrapper: false
520520

0 commit comments

Comments
 (0)