From 0167744b013787004cfb65034646743fc6749431 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 28 Mar 2024 16:09:25 +0000 Subject: [PATCH] Renovate Update GitHub Actions to v4 --- .github/workflows/build.yml | 18 +++++++++--------- .github/workflows/deploy.yml | 6 +++--- .github/workflows/destroy_workspaces.yml | 4 ++-- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 301aceab..49bfe964 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,8 +13,8 @@ jobs: build_and_test: runs-on: "ubuntu-latest" steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v4 with: python-version: '3.8' - uses: unfor19/install-aws-cli-action@v1 @@ -49,7 +49,7 @@ jobs: zip -r9 /tmp/opg-data-lpa.zip . - name: Upload artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: opg-data-lpa path: /tmp/opg-data-lpa.zip @@ -71,10 +71,10 @@ jobs: - environment: "integration" steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Configure AWS Credentials For Terraform - uses: aws-actions/configure-aws-credentials@v1 + uses: aws-actions/configure-aws-credentials@v4 with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} @@ -85,7 +85,7 @@ jobs: with: terraform_version: 1.2.4 - name: Retrieve Artifact - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: opg-data-lpa - name: unzip @@ -160,7 +160,7 @@ jobs: runs-on: "ubuntu-latest" needs: [build_and_test, terraform_checks] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: hashicorp/setup-terraform@v3 with: terraform_version: 1.2.4 @@ -176,14 +176,14 @@ jobs: sudo tar -xvf $HOME/terraform-workspace-manager.tar.gz -C /usr/local/bin sudo chmod +x /usr/local/bin/terraform-workspace-manager - name: Configure AWS Credentials For Terraform - uses: aws-actions/configure-aws-credentials@v1 + uses: aws-actions/configure-aws-credentials@v4 with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} aws-region: eu-west-1 role-session-name: GitHubActionsTerraform - name: Retrieve Artifact - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: opg-data-lpa - name: Unzip Artifact diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 699cf8ee..9df97d2e 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -26,9 +26,9 @@ jobs: - tf_workspace: "integration" steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - - uses: actions/setup-python@v2 + - uses: actions/setup-python@v4 with: python-version: '3.8' @@ -45,7 +45,7 @@ jobs: terraform_version: 1.2.4 - name: Configure AWS Credentials For Terraform - uses: aws-actions/configure-aws-credentials@v1 + uses: aws-actions/configure-aws-credentials@v4 with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} diff --git a/.github/workflows/destroy_workspaces.yml b/.github/workflows/destroy_workspaces.yml index 279839f3..c700ed63 100644 --- a/.github/workflows/destroy_workspaces.yml +++ b/.github/workflows/destroy_workspaces.yml @@ -15,7 +15,7 @@ jobs: name: Destroy runs-on: "ubuntu-latest" steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: hashicorp/setup-terraform@v3 with: terraform_version: 1.2.4 @@ -26,7 +26,7 @@ jobs: sudo tar -xvf $HOME/terraform-workspace-manager.tar.gz -C /usr/local/bin sudo chmod +x /usr/local/bin/terraform-workspace-manager - name: Configure AWS Credentials For Terraform - uses: aws-actions/configure-aws-credentials@v1 + uses: aws-actions/configure-aws-credentials@v4 with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}