ci: transitioning action version from node 16 to node 20 (#8071) #8629
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
![image](https://private-user-images.githubusercontent.com/53859786/322685809-2ffc282e-d05f-4103-812f-40e7f37ee3b1.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2NDMzNTEsIm5iZiI6MTczOTY0MzA1MSwicGF0aCI6Ii81Mzg1OTc4Ni8zMjI2ODU4MDktMmZmYzI4MmUtZDA1Zi00MTAzLTgxMmYtNDBlN2YzN2VlM2IxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE1VDE4MTA1MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWE2MWNlYmEwYzkzNzlkYzgwNWMwNWIyM2I5MzFjM2MwN2Y5YjA1YjI2MjdhOTk2OGIyYWUyYTBkNzM5YWZlMDMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.eTfsT9LOqjQ8OHxTp_V3KytKD1XhfSwmq1YOd3o4Y4s)
https://github.com/tikv/pd/pull/8072/checks
![image](https://private-user-images.githubusercontent.com/53859786/322714956-17dd2c27-9a9d-41e7-b498-2156242f01b6.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2NDMzNTEsIm5iZiI6MTczOTY0MzA1MSwicGF0aCI6Ii81Mzg1OTc4Ni8zMjI3MTQ5NTYtMTdkZDJjMjctOWE5ZC00MWU3LWI0OTgtMjE1NjI0MmYwMWI2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE1VDE4MTA1MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWFlZmY4MTQ3OWVkMGY0Yjg2ZWNhZTJjNzMzMWNjOTc0MDA1ZjIxODk3M2M5ZjhiZWMwNmQ3ZmIwMDQ0Nzk3MDEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.u6Lh8y6eizg14aaWPTKIswwqOO_AJqO6CAdHahk3ijA)
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