-
Notifications
You must be signed in to change notification settings - Fork 4
Add Github workflows for test, fmt, clippy, PR and Issue templates #3
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
Conversation
1a163f9 to
30ca521
Compare
30ca521 to
6e9730c
Compare
oleonardolima
left a comment
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.
Overall looks good, I just left a few comments.
I think we can only commit the Cargo.lock once it's final, and moved to corepc repository. WDYT ?
- harmonize all actions to use actions-rust-lang/ setup-rust-toolchain with auto-caching
|
I've tested the CI in my fork (see https://github.com/oleonardolima/bdk-rpc-client/actions/runs/19510871935/job/55850429271) and it worked just fine. |
Yesterday's update removed the entire setup for Bitcoind. Please verify. |
|
We should be using pinned hashes, add See |
Oh, yes! All good now 🚀 |
I have included zizmor, audit and dependabot now. |
oleonardolima
left a comment
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.
Looking good, it's working on my fork, but I left some other nits that we could address here too.
c73a37d to
92bc42d
Compare
- add audit, zizmor workflows and dependabot - set MSRV to 1.75.0
92bc42d to
10dccdb
Compare
oleonardolima
left a comment
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.
| - name: Install Rust toolchain | ||
| uses: dtolnay/rust-toolchain@stable | ||
|
|
||
| - name: Cache cargo registry/index/target | ||
| uses: Swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1 | ||
| with: | ||
| cache-on-failure: 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.
nit: as a follow-up, we can probably use the other toolchain action so we don't need Swatinem/rust-cache, but don't want to keep bikeshedding on this one.
ValuedMammal
left a comment
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 1616a38
1616a38 to
89aa6f0
Compare
|
reACK 89aa6f0 |
oleonardolima
left a comment
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.
utACK 89aa6f0
af6d056 feat: add a justfile (Luis Schwab) Pull request description: This PR adds a minimal justfile (stolen from bdk_wallet). ACKs for top commit: ValuedMammal: ACK af6d056 oleonardolima: ACK af6d056 ; but depends on #3 tvpeter: tACK af6d056 Tree-SHA512: 813caeade38c57c83e8b2123bf8f9c7ffcda5a900e14334b67f277b2ee035f5f01f90f85661b5b6d70508530258e8043510abc0819012f74ed4ffd9c27b56b98
Description
Fixes #2
This PR adds a PR template, issue template, workflows for testing, fmt, and clippy.
Checklists
All Submissions:
cargo fmtandcargo clippybefore committing