-
Notifications
You must be signed in to change notification settings - Fork 711
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci: transitioning action version from node 16 to node 20 #8071
Conversation
Signed-off-by: husharp <jinhao.hu@pingcap.com>
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by submitting an approval review. |
Skipping CI for Draft Pull Request. |
Signed-off-by: husharp <jinhao.hu@pingcap.com>
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #8071 +/- ##
==========================================
+ Coverage 77.28% 77.30% +0.01%
==========================================
Files 469 469
Lines 61097 61097
==========================================
+ Hits 47218 47229 +11
+ Misses 10325 10302 -23
- Partials 3554 3566 +12
Flags with carried forward coverage won't be shown. Click here to find out more. |
5b1cc8c
to
16a8b73
Compare
627a9b6
to
dab2894
Compare
pattern: cover-reports-* | ||
merge-multiple: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- the pattern: input will filter the downloaded Artifacts to match the name specified.
- the merge-multiple: input will support downloading multiple Artifacts to the same directory.
path: | | ||
~/go/pkg/mod | ||
~/.cache/go-build | ||
**/.tools | ||
**/.dashboard_download_cache | ||
key: ${{ runner.os }}-go-${{ matrix.worker_id }}-${{ hashFiles('**/go.sum') }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed because have cached in setup actions/cache#1104 (comment)
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
- name: Restore cache | ||
uses: actions/cache@v3 | ||
uses: actions/checkout@v4 | ||
- uses: actions/setup-go@v5 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
change the checkout
and setup
place because actions/setup-node#624 (comment)
uses: actions/cache@v3 | ||
uses: actions/checkout@v4 | ||
- uses: actions/setup-go@v5 | ||
with: | ||
path: | | ||
~/go/pkg/mod | ||
~/.cache/go-build | ||
**/.dashboard_download_cache | ||
key: ${{ runner.os }}-golang-${{ hashFiles('**/go.sum') }} | ||
restore-keys: | | ||
${{ runner.os }}-golang |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed because have cached in setup actions/cache#1104 (comment)
/merge |
@HuSharp: It seems you want to merge this PR, I will help you trigger all the tests: /run-all-tests You only need to trigger
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
This pull request has been accepted and is ready to merge. Commit hash: 07dd253
|
@HuSharp: Your PR was out of date, I have automatically updated it for you. If the CI test fails, you just re-trigger the test that failed and the bot will merge the PR for you after the CI passes. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
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