Skip to content

upgrade actions to use latest version with node.js 24 support#184

Merged
chriskarlin merged 11 commits intomainfrom
CDIS-3318
Mar 24, 2026
Merged

upgrade actions to use latest version with node.js 24 support#184
chriskarlin merged 11 commits intomainfrom
CDIS-3318

Conversation

@chriskarlin
Copy link
Copy Markdown
Contributor

@chriskarlin chriskarlin commented Mar 23, 2026

Summary

  • Upgrade actions/checkout v4 → v6, actions/cache v4 → v5, actions/upload-artifact v4 → v6, and actions/download-artifact v4 → v7 across all actions to resolve Node.js 20 deprecation warnings
  • Upgrade aws-actions/configure-aws-credentials v4 → v6 (Node.js 24)
  • Upgrade DataDog/synthetics-ci-github-action v1.17.0 → v4.0.0 (Node.js 24). Input names changed from underscores to hyphens (api_keyapi-key, app_keyapp-key, public_idspublic-ids)
  • Migrate bufbuild/buf-setup-action@v1 to bufbuild/buf-action@v1 with setup_only: true in go/configure. Auth inputs consolidated from buf_user/buf_api_token to the unified token input. Two-step conditional pattern preserved: pinned version from .tool-versions when available, otherwise buf-action resolves its default. BUF_BUILD_USER input kept for backward compatibility but marked as deprecated
  • Upgrade golangci/golangci-lint-action v7 → v9 (Node.js 24) for the v2 config path

Actions updated

Action Old New Node.js
actions/checkout v4 v6 24
actions/cache v4 v5 24
actions/upload-artifact v4 v6 24
actions/download-artifact v4 v7 24
aws-actions/configure-aws-credentials v4 v6 24
DataDog/synthetics-ci-github-action v1.17.0 v4.0.0 24
bufbuild/buf-setup-action buf-setup-action@v1 buf-action@v1 24
golangci/golangci-lint-action v7 v9 24

Known remaining Node.js 20 actions

  • golangci/golangci-lint-action@v6 — no Node.js 24 version available for v1 config users; consumers need to migrate to golangci-lint v2 config
  • slackapi/slack-github-action@v1.27.1 — v3 available but has major breaking changes (channel-id input removed, token handling restructured, method input required). Separate PR needed

Test plan

@chriskarlin chriskarlin changed the title upgrade actions/* to use latest version with latest supported node.js version upgrade actionsto use latest version with node.js 24 support Mar 23, 2026
@chriskarlin chriskarlin requested review from Copilot and dcbickfo March 23, 2026 19:15
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates this repository’s composite GitHub Actions to newer upstream action versions (aimed at Node.js 24 compatibility) and migrates Buf setup to the newer buf-action, reducing Node deprecation warnings for downstream consumers.

Changes:

  • Bump core GitHub Actions dependencies (checkout/cache/upload/download-artifact, AWS credentials, golangci-lint-action).
  • Migrate Buf setup from bufbuild/buf-setup-action@v1 to bufbuild/buf-action@v1 (setup-only), and adjust auth inputs.
  • Upgrade DataDog synthetics action and update input names to hyphenated form.

Reviewed changes

Copilot reviewed 16 out of 16 changed files in this pull request and generated 11 comments.

Show a summary per file
File Description
ruby/test/action.yml Bumps actions/upload-artifact to v6 for Ruby test artifacts.
ruby/one-for-all/action.yml Bumps actions/download-artifact to v7 to fetch test reports.
ruby/lint/action.yml Bumps actions/upload-artifact to v6 for rubocop output.
ruby/deps/action.yml Bumps actions/cache to v5; updates workspace cache action reference.
go/test/action.yml Bumps actions/upload-artifact to v6 for Go test/coverage artifacts.
go/smoke-test/action.yml Upgrades DataDog synthetics action to v4.0.0 and updates input names; updates cache action reference.
go/lint/action.yml Updates internal Go action references; bumps golangci/golangci-lint-action to v9.
go/deps/action.yml Bumps actions/cache to v5 and updates workspace cache action reference.
go/configure/action.yml Bumps checkout to v6; migrates Buf setup to bufbuild/buf-action@v1 with setup_only.
go/build/action.yml Updates internal Go action references.
go/build-and-test/action.yml Updates internal Go action references.
deploy/lambda/go/action.yml Bumps checkout to v6; updates workspace cache action reference.
deploy/eks/action.yml Bumps AWS credentials action to v6 and checkout to v6; updates workspace cache action reference.
cache/action.yml Bumps actions/cache to v5.
.github/workflows/test.yml Bumps checkout to v6 in CI workflows.
.github/workflows/main-version-update.yml Bumps checkout to v6 in release/tag workflow.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 14 out of 14 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

github_token: ${{ inputs.FLIPPCIRCLECIPULLER_REPO_TOKEN }}
buf_user: ${{ inputs.BUF_BUILD_USER }}
buf_api_token: ${{ inputs.BUF_BUILD_API_TOKEN }}
token: ${{ inputs.BUF_BUILD_API_TOKEN }}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see your build passed, but want to be sure; the new version just doesn't need a user. Token only works?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep seems to work as per success.
Docs also indicate token only is needed https://buf.build/docs/bsr/ci-cd/github-actions/#authentication-and-bsr-tokens

Copy link
Copy Markdown
Contributor

@dcbickfo dcbickfo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved pending buf question.

@chriskarlin chriskarlin changed the title upgrade actionsto use latest version with node.js 24 support upgrade actions to use latest version with node.js 24 support Mar 23, 2026
@chriskarlin chriskarlin merged commit 04e89c6 into main Mar 24, 2026
2 checks passed
@chriskarlin chriskarlin deleted the CDIS-3318 branch March 24, 2026 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants