-
Notifications
You must be signed in to change notification settings - Fork 165
Set up GitHub Actions #276
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
r? @adamgreig (rust_highfive has picked a reviewer for you, use r? to override) |
bors try |
bors try |
tryAlready running a review |
bors try- |
bors try |
tryBuild succeeded: |
@adamgreig ready for review :) |
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.
Thank you so much!! Looks good, couple of nits. Only shame is that merging this to master won't help #275 finally merge, sigh.
Ok, looks good to me. My only remaining concern is a policy one around whether we want to enforce rustfmt by failing PRs that don't have it run; we don't currently do this on any (I think?) wg repos. I know it's a tired fight but I at least don't want it to happen de facto. Sadly there's presumably not many good options...
I don't auto-rustfmt so I'm sort of meh about the whole situation but I don't think I can muster any compelling arguments against. On another note, I see the Clippy run fails because the PR is from a fork; do we expect that will work after this PR is merged, or should we change the clippy template too? I know GHA supports running the base branch's CI workflow on the PR's git commit, which might allow clippy annotations for PRs-from-forks, but maybe this will already work since it's what we're using elsewhere (or maybe it doesn't work elsewhere either, and we don't notice when making non-fork PRs?). |
This unfortunately fundamentally doesn't work on GitHub Actions. I think the Clippy action will write the clippy output to the console instead though. |
Ah, I see for example over on probe-rs that's what we get (e.g.). I wonder if it's possible if we use |
Oh, we already do rustfmt on cortex-m-rt, so that fight has been and gone. Let's do this! bors merge |
Oh, sounds like they added this specifically for clippy-style actions, neat! |
Build succeeded: |
276: Replace __ONCE__ with Cargo links key r=jonas-schievink a=adamgreig This would fix #275. We use the links key in cortex-m already [here](https://github.com/rust-embedded/cortex-m/blob/master/Cargo.toml#L16). See also rust-embedded/wg#467. Co-authored-by: Adam Greig <adam@adamgreig.com>
No description provided.