Skip to content

ci: update checkout, setup-java, and cache to current majors - #2444

Open
katsugtgz wants to merge 1 commit into
tencentmusic:masterfrom
katsugtgz:ci-update-action-versions
Open

katsugtgz wants to merge 1 commit into
tencentmusic:masterfrom
katsugtgz:ci-update-action-versions

Conversation

@katsugtgz

@katsugtgz katsugtgz commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

Updates the CI workflow to use current GitHub-maintained action versions.

Changes:

  • actions/checkout v2/v4 -> v7
  • actions/setup-java v2/v3 -> v6
  • actions/cache v3/v4 -> v6
  • distribution: 'adopt' -> 'temurin' (adopt was removed in setup-java v4; temurin is the documented replacement)

Validation:

  • actionlint passes on all four workflow files
  • YAML parse check passes
  • on this PR, every action step succeeds (checkout, JDK setup, cache restore)
  • Build with Maven fails on the same tests as the latest master run (MetricTest, DetailTest), so those failures predate this change: run 34217924782 on master commit 6919ac5 fails the same way

Scope: .github/workflows/ CI files only (ubuntu-ci, centos-ci, windows-ci, mac-ci).

setup-java v2/v3 used distribution: adopt, removed in v4+. Switched to
temurin, the documented replacement.
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.

1 participant