From 2526c5aa74309e9b10145248d7a5b603cde173d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andri=20Mar=20Bj=C3=B6rgvinsson?= Date: Fri, 26 Jun 2026 15:25:58 +0000 Subject: [PATCH 1/2] feat: update GitHub Actions to Node.js 24 compatible versions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update all actions to versions that support Node.js 24 runtime to resolve deprecation warnings on GitHub Actions runners. Updated actions: - actions/checkout: v4 → v5 - actions/cache: v4 → v5 - hashicorp/setup-terraform: v3 → v4 - terraform-linters/setup-tflint: v4 → v6 - aws-actions/configure-aws-credentials: v4 → v6 - docker/build-push-action: v5 → v7 - docker/metadata-action: v5 → v6 - cycjimmy/semantic-release-action: v4 → v6 BREAKING CHANGE: Major version updates may include breaking changes. --- .github/actions/apply-shared/action.yml | 4 ++-- .github/actions/apply-terraform/action.yml | 4 ++-- .github/actions/build-and-push-image/action.yml | 6 +++--- .github/actions/deploy-ecs-service/action.yml | 4 ++-- .github/actions/get-next-version/action.yml | 2 +- .github/actions/github-release/action.yml | 2 +- .github/actions/retag-docker-image/action.yml | 2 +- .github/workflows/main-deploy.yml | 8 ++++---- .github/workflows/manual-release.yml | 4 ++-- .github/workflows/release-deploy.yml | 6 +++--- .github/workflows/terraform-quality-checks.yml | 8 ++++---- 11 files changed, 25 insertions(+), 25 deletions(-) diff --git a/.github/actions/apply-shared/action.yml b/.github/actions/apply-shared/action.yml index da5cab3..2a0dd5a 100644 --- a/.github/actions/apply-shared/action.yml +++ b/.github/actions/apply-shared/action.yml @@ -22,7 +22,7 @@ runs: using: "composite" steps: - name: Setup Terraform - uses: hashicorp/setup-Terraform@v3 + uses: hashicorp/setup-Terraform@v4 with: terraform_version: ${{ inputs.TERRAFORM_VERSION }} @@ -31,7 +31,7 @@ runs: run: terraform --version - name: "Configure Shared Account AWS Credentials" - uses: aws-actions/configure-aws-credentials@v4 + uses: aws-actions/configure-aws-credentials@v6 with: role-to-assume: ${{ inputs.AWS_ECR_DEPLOYMENT_ROLE }} aws-region: ${{ inputs.AWS_REGION }} diff --git a/.github/actions/apply-terraform/action.yml b/.github/actions/apply-terraform/action.yml index c0a57b9..14204f3 100644 --- a/.github/actions/apply-terraform/action.yml +++ b/.github/actions/apply-terraform/action.yml @@ -25,7 +25,7 @@ runs: using: 'composite' steps: - name: Setup Terraform - uses: hashicorp/setup-Terraform@v3 + uses: hashicorp/setup-Terraform@v4 with: terraform_version: ${{ inputs.TERRAFORM_VERSION }} @@ -34,7 +34,7 @@ runs: run: terraform --version - name: 'Configure AWS Credentials' - uses: aws-actions/configure-aws-credentials@v4 + uses: aws-actions/configure-aws-credentials@v6 with: role-to-assume: ${{ inputs.AWS_DEPLOYMENT_ROLE }} aws-region: ${{ inputs.AWS_REGION }} diff --git a/.github/actions/build-and-push-image/action.yml b/.github/actions/build-and-push-image/action.yml index dc813c5..9bd7c1d 100644 --- a/.github/actions/build-and-push-image/action.yml +++ b/.github/actions/build-and-push-image/action.yml @@ -26,7 +26,7 @@ runs: using: "composite" steps: - name: 🔐 Configure AWS credentials - uses: aws-actions/configure-aws-credentials@v4 + uses: aws-actions/configure-aws-credentials@v6 with: role-to-assume: ${{ inputs.AWS_ROLE_ARN }} role-session-name: GitHub-Action-Role @@ -65,7 +65,7 @@ runs: echo "EOF" >> $GITHUB_OUTPUT - name: 🐳 Docker Metadata - uses: docker/metadata-action@v5 + uses: docker/metadata-action@v6 id: meta with: images: "${{ steps.parse.outputs.images }}" @@ -78,7 +78,7 @@ runs: - name: 🏗️ Build and push if: ${{ !inputs.CUSTOM_BUILD_SCRIPT }} - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v7 with: push: true tags: ${{ steps.meta.outputs.tags }} diff --git a/.github/actions/deploy-ecs-service/action.yml b/.github/actions/deploy-ecs-service/action.yml index 00f4510..552a423 100644 --- a/.github/actions/deploy-ecs-service/action.yml +++ b/.github/actions/deploy-ecs-service/action.yml @@ -42,7 +42,7 @@ runs: using: 'composite' steps: - name: Setup Terraform - uses: hashicorp/setup-Terraform@v3 + uses: hashicorp/setup-Terraform@v4 with: terraform_version: ${{ inputs.TERRAFORM_VERSION }} @@ -51,7 +51,7 @@ runs: run: terraform --version - name: 'Configure AWS Credentials' - uses: aws-actions/configure-aws-credentials@v4 + uses: aws-actions/configure-aws-credentials@v6 with: role-to-assume: ${{ inputs.AWS_DEPLOYMENT_ROLE }} aws-region: ${{ inputs.AWS_REGION }} diff --git a/.github/actions/get-next-version/action.yml b/.github/actions/get-next-version/action.yml index 1ebe0e6..ecd1315 100644 --- a/.github/actions/get-next-version/action.yml +++ b/.github/actions/get-next-version/action.yml @@ -25,7 +25,7 @@ runs: steps: - name: ⏭️ Determine the next release version id: semantic - uses: cycjimmy/semantic-release-action@v4 + uses: cycjimmy/semantic-release-action@v6 with: dry_run: true semantic_version: 24.2.3 diff --git a/.github/actions/github-release/action.yml b/.github/actions/github-release/action.yml index 450dd2f..54d9c15 100644 --- a/.github/actions/github-release/action.yml +++ b/.github/actions/github-release/action.yml @@ -22,7 +22,7 @@ runs: steps: - name: ⏯️ Release id: semantic - uses: cycjimmy/semantic-release-action@v4 + uses: cycjimmy/semantic-release-action@v6 env: GITHUB_TOKEN: ${{ inputs.github_token }} with: diff --git a/.github/actions/retag-docker-image/action.yml b/.github/actions/retag-docker-image/action.yml index 008b643..78da093 100644 --- a/.github/actions/retag-docker-image/action.yml +++ b/.github/actions/retag-docker-image/action.yml @@ -22,7 +22,7 @@ runs: using: 'composite' steps: - name: 🔐 Configure AWS credentials - uses: aws-actions/configure-aws-credentials@v4 + uses: aws-actions/configure-aws-credentials@v6 with: role-to-assume: ${{ inputs.AWS_ROLE_ARN }} role-session-name: GitHub-Action-Role diff --git a/.github/workflows/main-deploy.yml b/.github/workflows/main-deploy.yml index 905dd05..f0fe136 100644 --- a/.github/workflows/main-deploy.yml +++ b/.github/workflows/main-deploy.yml @@ -83,7 +83,7 @@ jobs: new_release_published: ${{ steps.get-next-version.outputs.new_release_published }} steps: - name: 📁 Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: 🏷️ Get next version id: get-next-version @@ -114,7 +114,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 📁 Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: '🚀 Apply shared' uses: aproorg/github-workflows/.github/actions/apply-shared@main @@ -133,7 +133,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 📁 Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: lfs: ${{ inputs.build_checkout_with_lfs }} fetch-tags: ${{ inputs.build_checkout_fetch_tags }} @@ -163,7 +163,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 📁 Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: '🚀 Deploy to dev' uses: aproorg/github-workflows/.github/actions/deploy-ecs-service@main diff --git a/.github/workflows/manual-release.yml b/.github/workflows/manual-release.yml index a90982a..510039b 100644 --- a/.github/workflows/manual-release.yml +++ b/.github/workflows/manual-release.yml @@ -13,7 +13,7 @@ jobs: new_release_published: ${{ steps.get-next-version.outputs.new_release_published }} steps: - name: 📁 Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: 🏷️ Get next version id: get-next-version uses: aproorg/github-workflows/.github/actions/get-next-version@main @@ -28,7 +28,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 📁 Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: fetch-depth: 0 diff --git a/.github/workflows/release-deploy.yml b/.github/workflows/release-deploy.yml index 1b68cf5..8cd1562 100644 --- a/.github/workflows/release-deploy.yml +++ b/.github/workflows/release-deploy.yml @@ -61,7 +61,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 📁 Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: 🔖 Version tag image uses: aproorg/github-workflows/.github/actions/retag-docker-image@main @@ -99,7 +99,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 📁 Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: 🚀 Deploy to staging uses: aproorg/github-workflows/.github/actions/deploy-ecs-service@main @@ -127,7 +127,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 📁 Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: 🚀 Deploy to prod uses: aproorg/github-workflows/.github/actions/deploy-ecs-service@main diff --git a/.github/workflows/terraform-quality-checks.yml b/.github/workflows/terraform-quality-checks.yml index b1e5e63..66346d3 100644 --- a/.github/workflows/terraform-quality-checks.yml +++ b/.github/workflows/terraform-quality-checks.yml @@ -18,13 +18,13 @@ jobs: name: "✅ Terraform quality checks" runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 name: "📁 Checkout" with: ref: ${{ github.head_ref }} fetch-depth: 0 - - uses: actions/cache@v4 + - uses: actions/cache@v5 name: "📥 Cache plugin dir" with: path: ~/.tflint.d/plugins @@ -42,13 +42,13 @@ jobs: key: rubygems-${{ steps.set-up-homebrew.outputs.gems-hash }} restore-keys: rubygems- - - uses: terraform-linters/setup-tflint@v4 + - uses: terraform-linters/setup-tflint@v6 name: "🛠️ Setup TFLint" with: tflint_version: latest - name: "🛠️ Setup Terraform" - uses: hashicorp/setup-Terraform@v3 + uses: hashicorp/setup-Terraform@v4 with: terraform_version: ${{ inputs.terraform_version }} From f6eaef84f2a21df7a859b30601b3119a3bb4760a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andri=20Mar=20Bj=C3=B6rgvinsson?= Date: Mon, 29 Jun 2026 07:50:25 +0000 Subject: [PATCH 2/2] =?UTF-8?q?feat:=20updating=20package=20and=20moving?= =?UTF-8?q?=20to=20main=20branch=20Updated=20actions:=20=20=20-=20actions/?= =?UTF-8?q?cache:=20v4=20=E2=86=92=20v5=20=20=20-=20Homebrew/actions/setup?= =?UTF-8?q?-homebrew:=20@master=20=E2=86=92=20@main?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/terraform-quality-checks.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/terraform-quality-checks.yml b/.github/workflows/terraform-quality-checks.yml index 66346d3..6bd46cb 100644 --- a/.github/workflows/terraform-quality-checks.yml +++ b/.github/workflows/terraform-quality-checks.yml @@ -30,13 +30,13 @@ jobs: path: ~/.tflint.d/plugins key: tflint-${{ hashFiles('terraform/.tflint.hcl') }} - - uses: Homebrew/actions/setup-homebrew@master + - uses: Homebrew/actions/setup-homebrew@main name: "☕️ Set up Homebrew" id: set-up-homebrew - name: "📥 Cache Homebrew Bundler RubyGems" id: cache - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ${{ steps.set-up-homebrew.outputs.gems-path }} key: rubygems-${{ steps.set-up-homebrew.outputs.gems-hash }}