Skip to content

Commit

Permalink
Update github actions
Browse files Browse the repository at this point in the history
To reduce the number of 'Node.js 12 actions are deprecated' warnings that are poping in the pipeline.

Note: most of the actions we used are to be updated to node16 so this task isn't complete
  • Loading branch information
Alenar committed Oct 12, 2022
1 parent 3f31c35 commit 37d642e
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 37d642e

Please sign in to comment.