From 57814b6723a1004d879d81c18879cbe997eab0ad Mon Sep 17 00:00:00 2001 From: Johann Hoffmann Date: Thu, 24 Nov 2022 14:28:48 +0100 Subject: [PATCH] [WIFI-11419] Patch workflows with regard to deprecated Github actions commands (#229) * Upgrade checkout action version Signed-off-by: Johann Hoffmann * Update setup-terraform action Signed-off-by: Johann Hoffmann Signed-off-by: Johann Hoffmann --- .github/workflows/enforce-jira-issue-key.yml | 2 +- .github/workflows/helmfile.yml | 2 +- .github/workflows/terraform-format.yml | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/enforce-jira-issue-key.yml b/.github/workflows/enforce-jira-issue-key.yml index 0908476..a56d6ed 100644 --- a/.github/workflows/enforce-jira-issue-key.yml +++ b/.github/workflows/enforce-jira-issue-key.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout actions repo - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: repository: Telecominfraproject/.github path: github diff --git a/.github/workflows/helmfile.yml b/.github/workflows/helmfile.yml index 64ede62..4298c65 100644 --- a/.github/workflows/helmfile.yml +++ b/.github/workflows/helmfile.yml @@ -18,7 +18,7 @@ jobs: helmfile: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: install helmfile run: | sudo wget https://github.com/roboll/helmfile/releases/download/v0.139.7/helmfile_linux_amd64 -O /usr/local/bin/helmfile diff --git a/.github/workflows/terraform-format.yml b/.github/workflows/terraform-format.yml index 8383eca..f1ede4d 100644 --- a/.github/workflows/terraform-format.yml +++ b/.github/workflows/terraform-format.yml @@ -14,10 +14,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Install Terraform - uses: hashicorp/setup-terraform@v1 + uses: hashicorp/setup-terraform@v2 with: terraform_version: 0.13.5 - name: Terraform format check - run: terraform fmt -check -recursive -diff -no-color \ No newline at end of file + run: terraform fmt -check -recursive -diff -no-color