ci: transitioning action version from node 16 to node 20 (#8071) #8627
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is an automated cherry-pick of #8071
What problem does this PR solve?
Issue Number: Close #8070
What is changed and how does it work?
problems
https://github.com/tikv/pd/actions/runs/8699677331?pr=8072
https://github.com/tikv/pd/pull/8072/checks
solution
rely on
https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/
action release note and docs
all update node version from 16 to 20
https://github.com/actions/cache/releases/tag/v4.0.0
https://github.com/actions/setup-go/releases/tag/v5.0.0
https://github.com/actions/checkout/releases/tag/v4.0.0
https://github.com/actions/github-script/releases/tag/v7.0.0
https://github.com/actions/upload-artifact/blob/ef09cdac3e2d3e60d8ccadda691f4f1cec5035cb/docs/MIGRATION.md#multiple-uploads-to-the-same-named-artifact
Check List
Tests
Release note