-
Notifications
You must be signed in to change notification settings - Fork 68
fix(ci): code coverage actions/upload-artifact version
#96
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): code coverage actions/upload-artifact version
#96
Conversation
|
This looks good to me, seems like the workflow was in need of an update. I noticed it's also installing rust via |
Oh, you're right. I'll update it to the same one as the other CI jobs. |
7b5b4b1 to
8608109
Compare
Pull Request Test Coverage Report for Build 10723811847Details
💛 - Coveralls |
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.
ACK 8608109
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.
ACK, mod one comment
.github/workflows/code_coverage.yml
Outdated
| - name: Set default toolchain | ||
| run: rustup default nightly | ||
| - name: Install Rust Toolchain | ||
| uses: dtolnay/rust-toolchain@v1 |
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.
Why is this change necessary? IIUC, it should do the same thing, but introduces another (unnecessary) dependency to the CI? IMO, the previous way was preferable (and saves the addtional rustup update step later on).
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.
It's not really necessary. I just used the opportunity to update it to use the same toolchain action used on our other CIs.
I have no big feelings about dropping the e404089 if you folks see fit :)
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.
I have no big feelings about dropping the e404089 if you folks see fit :)
Sounds good, I guess tnull is right
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.
Awesome, I removed the e404089 commit and rebased it on top of master.
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.
I added a new commit 7321a5d to fix the tokio-util MSRV problem.
8608109 to
cec57f6
Compare
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.
ACK 7321a5d
|
ACK 7321a5d |
…ctions/upload-artifact` version 7321a5dd578ebc77d33cdd8b55d2948d9fcf1162 fix(ci): pin `tokio-util` to `0.7.11` (Leonardo Lima) cec57f64f2b3dcee895854d61747fd3462604fc3 chore: remove bdk repository related comment (Leonardo Lima) 33a6f211fcba01bedd909475494454ee60895e50 deps(ci): bump `actions/checkout` to `v4` (Leonardo Lima) b22d95ff904f6569ffd8ecbf96b76bfbcb1532ff deps(ci): bump `actions/upload-artifact` to `v4` (Leonardo Lima) Pull request description: <!-- You can erase any parts of this template not applicable to your Pull Request. --> ### Description The Code Coverage step seems to start failing due to `actions/checkout@v2` becoming deprecated, and an error now instead of a warning. At least it's what I got from the error message here: https://github.com/bitcoindevkit/rust-esplora-client/actions/runs/10702593999/job/29671147653?pr=93 This PR bumps it's version to `v4`, the latest one. I'm also taking the opportunity to bump the `action/checkout` to `v4` too. I'm not sure if it became fully/enforced deprecation from yesterday to today, because it ran successfully on the last master merged PR CI steps #:thinking: <!-- Describe the purpose of this PR, what's being adding and/or fixed --> ### Notes to the reviewers Please let me know if I should take the opportunity to bump any other actions, or update the workflow in any way. <!-- In this section you can include notes directed to the reviewers, like explaining why some parts of the PR were done in a specific way --> ### Changelog notice - Bump `actions/upload-artifact` to `v4`. - Bump `actions/checkout` to `v4`. <!-- Notice the release manager should include in the release tag message changelog --> <!-- See https://keepachangelog.com/en/1.0.0/ for examples --> ### Checklists #### All Submissions: * [x] I've signed all my commits * [x] I followed the [contribution guidelines](https://github.com/bitcoindevkit/bdk/blob/master/CONTRIBUTING.md) * [x] I ran `cargo fmt` and `cargo clippy` before committing ACKs for top commit: ValuedMammal: ACK 7321a5dd578ebc77d33cdd8b55d2948d9fcf1162 evanlinjin: ACK 7321a5dd578ebc77d33cdd8b55d2948d9fcf1162 Tree-SHA512: ac00626633fdfad2cca88e971fa953c71ed3363b68a87351677d0737891eca782c08705ec355c00778211024bcc28791adb66c1e17a5f8d2487fd601a75965de
Description
The Code Coverage step seems to start failing due to
actions/checkout@v2becoming deprecated, and an error now instead of a warning. At least it's what I got from the error message here: https://github.com/bitcoindevkit/rust-esplora-client/actions/runs/10702593999/job/29671147653?pr=93This PR bumps it's version to
v4, the latest one. I'm also taking the opportunity to bump theaction/checkouttov4too.I'm not sure if it became fully/enforced deprecation from yesterday to today, because it ran successfully on the last master merged PR CI steps #:thinking:
Notes to the reviewers
Please let me know if I should take the opportunity to bump any other actions, or update the workflow in any way.
Changelog notice
actions/upload-artifacttov4.actions/checkouttov4.Checklists
All Submissions:
cargo fmtandcargo clippybefore committing