From 3d451208a2848a7d8eea446b10fbc5d19666dae8 Mon Sep 17 00:00:00 2001 From: kristianmills Date: Fri, 12 Apr 2024 17:56:19 +0000 Subject: [PATCH] [TOOLS-7104] Update github actions in the monolith due to node 16 deprecation --- .github/workflows/ci.yml | 24 ++++++++++++------------ .github/workflows/release.yml | 4 ++-- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0846db9..4c27146 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Inject slug/short variables # A GitHub Action to expose the slug values of some GitHub ENV variables @@ -22,17 +22,17 @@ jobs: - name: Set up Docker Buildx id: buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Cache Docker layers - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ env.BUILDX_CACHE_PATH }} key: ${{ runner.os }}-buildx-${{ github.sha }} restore-keys: | ${{ runner.os }}-buildx- - - uses: docker/build-push-action@v3 + - uses: docker/build-push-action@v5 # GitHub Action to build and push Docker images with Buildx # https://github.com/docker/build-push-action name: Build image @@ -49,7 +49,7 @@ jobs: needs: build steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Inject slug/short variables # A GitHub Action to expose the slug values of some GitHub ENV variables @@ -58,17 +58,17 @@ jobs: - name: Set up Docker Buildx id: buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Get cached Docker layers - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ env.BUILDX_CACHE_PATH }} key: ${{ runner.os }}-buildx-${{ github.sha }} restore-keys: | ${{ runner.os }}-buildx- - - uses: docker/build-push-action@v3 + - uses: docker/build-push-action@v5 # GitHub Action to build and push Docker images with Buildx # https://github.com/docker/build-push-action name: Build image @@ -103,7 +103,7 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Inject slug/short variables # A GitHub Action to expose the slug values of some GitHub ENV variables @@ -112,17 +112,17 @@ jobs: - name: Set up Docker Buildx id: buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Get cached Docker layers - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ env.BUILDX_CACHE_PATH }} key: ${{ runner.os }}-buildx-${{ github.sha }} restore-keys: | ${{ runner.os }}-buildx- - - uses: docker/build-push-action@v3 + - uses: docker/build-push-action@v5 # GitHub Action to build and push Docker images with Buildx # https://github.com/docker/build-push-action name: Build image diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d42585d..93eab8e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,7 +21,7 @@ jobs: - name: Checkout # A GitHub Action to checkout a repository. # https://github.com/actions/checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: token: ${{ secrets.GITHUB_TOKEN }} persist-credentials: false @@ -32,7 +32,7 @@ jobs: uses: rlespinasse/github-slug-action@v3.x - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@v3 + uses: aws-actions/configure-aws-credentials@v4 with: role-to-assume: ${{ secrets.DEPLOYER_PRODUCTION_ROLE_ARN }} aws-region: ${{ env.AWS_REGION }}