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
fix(ci): bump actions workflow versions #11272
Conversation
cc @Ekleog-NEAR and @andrei-near I think it's fine but please let me know if there could be any incompatibilities or if we should test this first somehow. |
For upload/download artifact, there are two migration docs here:
I've pushed 1491a9b which added
|
I've pushed 78b2b67 to make sure each job will produce a unique artifact name like Some reference here: https://github.com/actions/upload-artifact/blob/main/docs/MIGRATION.md#multiple-uploads-to-the-same-named-artifact |
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.
LGTM! I think we should land it, and iterate on it if any failure were to happen, as this PR seems reasonable enough to me :)
Seems using |
Also pushed ee45a97 tries to fix this problem: Let's hope these two fixes will make CI pass 😇, now waits for CI approval from maintainers. |
Approved for CI run :) |
Seems like this is still an issue with the CI runs other than the first passing one. Adding |
Ah, indeed, I've added - uses: actions/upload-artifact@v4
if: matrix.upload_profraws
with:
name: coverage-profraw-${{ github.sha }}-${{ matrix.name }}
path: coverage/profraw
retention-days: 2
- uses: actions/upload-artifact@v4
with:
name: coverage-codecov-${{ github.sha }}-cargo_nextest-${{ matrix.name }}
path: coverage/codecov hopefully this will solve that issue🤣, awaiting approval for workflow run again. |
Oh, it should be |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #11272 +/- ##
==========================================
+ Coverage 70.99% 71.00% +0.01%
==========================================
Files 781 781
Lines 154932 155507 +575
Branches 154932 155507 +575
==========================================
+ Hits 109989 110419 +430
- Misses 40201 40316 +115
- Partials 4742 4772 +30
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
OK, I think this is the final problem here, I've pushed 122ff5f. |
Pushed 8925fba |
Nice, all the CI passed! (Except Lychee Lints at it appears to be another problem) |
Cool! Let's merge and see what happens then :) |
Thank you for your PR! |
Currently there are tons of warnings on Actions:
As some actions are relying on Node16 which is going to EOL(https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/), and some workflows are being deprecated.
For example https://github.com/actions/download-artifact
https://github.com/actions/upload-artifact
This PR bumps those workflows to avoid future breaking on CI flow when those actions are deprecated.