Skip to content

Commit

Permalink
Merge pull request #551 from input-output-hk/djo/update-ci-actions
Browse files Browse the repository at this point in the history
Update github actions
  • Loading branch information
Alenar authored Oct 12, 2022
2 parents 3f31c35 + 37d642e commit 3955689
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:

steps:
- name: Checkout sources
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Overriding default $CARGO_PROJECT_NAME with matrix value
if: ${{ matrix.cargo_project_name }}
Expand Down Expand Up @@ -154,7 +154,7 @@ jobs:
needs: [ build ]
steps:
- name: Checkout sources
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Install stable toolchain
uses: actions-rs/toolchain@v1
Expand Down Expand Up @@ -213,7 +213,7 @@ jobs:
needs: [ build ]
steps:
- name: Checkout sources
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Download aggregator
uses: actions/download-artifact@v3
Expand Down Expand Up @@ -341,18 +341,18 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Log in to the Container registry
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v3
uses: docker/metadata-action@v4
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
Expand All @@ -366,7 +366,7 @@ jobs:
path: ${{ matrix.project }}

- name: Build and push Docker image
uses: docker/build-push-action@v2
uses: docker/build-push-action@v3
with:
context: ${{ env.CONTEXT }}
file: ${{ env.DOCKER_FILE }}
Expand Down Expand Up @@ -420,7 +420,7 @@ jobs:
- docker-mithril
steps:
- name: Checkout sources
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Download mithril-core-doc artifact
uses: actions/download-artifact@v3
Expand Down Expand Up @@ -507,14 +507,14 @@ jobs:
steps:

- name: Checkout sources
uses: actions/checkout@v2
uses: actions/checkout@v3

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

- name: Setup Terraform
uses: hashicorp/setup-terraform@v1
uses: hashicorp/setup-terraform@v2
with:
terraform_wrapper: false

Expand Down

0 comments on commit 3955689

Please sign in to comment.