-
Notifications
You must be signed in to change notification settings - Fork 725
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 ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #8071 +/- ##
==========================================
+ Coverage 77.28% 77.34% +0.06%
==========================================
Files 469 469
Lines 61097 61097
==========================================
+ Hits 47218 47255 +37
+ Misses 10325 10284 -41
- Partials 3554 3558 +4
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)
close tikv#8070 Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
In response to a cherrypick label: new pull request created to branch |
In response to a cherrypick label: new pull request created to branch |
close tikv#8070 Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
In response to a cherrypick label: new pull request created to branch |
close tikv#8070 Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
In response to a cherrypick label: new pull request created to branch |
In response to a cherrypick label: new pull request created to branch |
@HuSharp: You cannot manually add or delete the cherry pick branch category labels. It will be added automatically by bot when the PR is created. In response to adding label named type/cherry-pick-for-release-6.1. 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