From b3fda15937492a2a4e3cbbfe2ce9a7855c8577b0 Mon Sep 17 00:00:00 2001 From: tiennm99 Date: Sat, 16 May 2026 11:53:01 +0700 Subject: [PATCH] ci: bump actions to Node 24-native versions GitHub forces Node 20 actions to run on Node 24 starting 2026-06-02 and removes Node 20 entirely on 2026-09-16. Bump every action that emitted the deprecation warning to the latest major that natively declares runs.using: node24: actions/checkout v4 -> v6 actions/setup-go v5 -> v6 aws-actions/setup-sam v2 -> v3 aws-actions/configure-aws-credentials v4 -> v6 Verified action.yml runtime declarations (node24) for checkout v6 and setup-go v6. configure-aws-credentials v5 changed only invalid- boolean-input handling, which we don't pass. setup-sam v3 is solely the Node bump. golangci-lint-action stays at v7 (already Node 24, never appeared in the deprecation warning). --- .github/workflows/ci.yml | 8 ++++---- .github/workflows/deploy.yml | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b7de5f1..c801e4b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,9 +16,9 @@ jobs: matrix: go: ['1.25'] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - - uses: actions/setup-go@v5 + - uses: actions/setup-go@v6 with: go-version: ${{ matrix.go }} cache: true @@ -69,8 +69,8 @@ jobs: name: SAM template validate runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: aws-actions/setup-sam@v2 + - uses: actions/checkout@v6 + - uses: aws-actions/setup-sam@v3 with: use-installer: true - name: sam validate (offline) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index df6dcda..1b7ef7b 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -21,18 +21,18 @@ jobs: AWS_REGION: ap-southeast-1 STACK_NAME: miti99bot steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - - uses: actions/setup-go@v5 + - uses: actions/setup-go@v6 with: go-version: '1.25' cache: true - - uses: aws-actions/setup-sam@v2 + - uses: aws-actions/setup-sam@v3 with: use-installer: true - - uses: aws-actions/configure-aws-credentials@v4 + - uses: aws-actions/configure-aws-credentials@v6 with: role-to-assume: arn:aws:iam::225603493174:role/github-deploy-miti99bot aws-region: ${{ env.AWS_REGION }}