Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update github actions #551

Merged
merged 1 commit into from
Oct 12, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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