GitHub Action for Cargo


#1

(hi! first-timer here.)

So… There is this GitHub Actions thing. I’ve just got my invite and was wondering whether someone is already writing an Action for cargo.


#2

OK. I’ve started my own: https://github.com/thiagoarrais/action-cargo. Feel free to use it.


#3

That is really cool. :slight_smile:

I’ve made a couple of actions for clippy, rustfmt and cargo-fix already (I was meaning to share it, but I kept forgetting)

They provide validation as linters, and might provide fixes driven by Pull Request reviews or automatically modify PRs on push.

They are here: https://github.com/bltavares/actions

I was thinking of building other actions, bit at this moment, I think that Travis CI still offers better coverage for testing and building. It has Linux, Windows and Mac runners available, and combining it with crossgen makes bootstrapping it easier.

So I’m using a combo of Travis for tests, builds and release, and GitHub Actions for pairing with bots to keep the code well formated.


#4

autoformatting for PRs via rustfmt: :yum: