Skip to content

Conversation

@tnull
Copy link
Contributor

@tnull tnull commented Nov 5, 2025

.. we simply add a cargo fmt step to our Rust CI

@tnull tnull requested a review from tankyleo November 5, 2025 13:21
@ldk-reviews-bot
Copy link

ldk-reviews-bot commented Nov 5, 2025

👋 I see @tankyleo was un-assigned.
If you'd like another reviewer assignment, please click here.

@ldk-reviews-bot
Copy link

🔔 1st Reminder

Hey @tankyleo! This PR has been waiting for your review.
Please take a look when you have a chance. If you're unable to review, please let us know so we can find another reviewer.

@ldk-reviews-bot
Copy link

🔔 2nd Reminder

Hey @tankyleo! This PR has been waiting for your review.
Please take a look when you have a chance. If you're unable to review, please let us know so we can find another reviewer.

Copy link
Contributor

@tankyleo tankyleo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, reproduced on my machine, two questions

uses: actions/checkout@v3

- name: Check formatting on Rust ${{ matrix.toolchain }}
if: matrix.check-fmt
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When is this true ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, lol, good catch. It would be if I checked in the change. For simplicity I now simply dropped the line.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be if I checked in the change.

Can you clarify this ? Thank you :)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am also unclear how ${{ matrix.toolchain }} gets defined, thank you for the clarification.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤦‍♂️ Sorry, that variable is likely only available if you use a matrix strategy in the workflow, see https://docs.github.com/en/actions/how-tos/write-workflows/choose-what-workflows-do/run-job-variations

Now dropped it.

It would be if I checked in the change.

Can you clarify this ? Thank you :)

Yes, I previously made/copy pasted some changes that weren't fully making it here. However, for now it's probably better to keep it simple anyways.

@tnull tnull requested a review from tankyleo November 11, 2025 09:31
@tankyleo tankyleo removed their request for review November 11, 2025 16:38
.. we simply add a `cargo fmt` step to our Rust CI
@tankyleo tankyleo merged commit ca77a22 into lightningdevkit:main Nov 11, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants