Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
September 28, 2019 01:43 pm GMT

GitHub Actions: Rust edition

Photo by Zsolt Palatinus on Unsplash

I'm on a bit of a GitHub Actions deep dive this weekend. I tried GitHub's starter workflow for Rust but I was disappointed to discover the macOS virtual environment doesn't have the Rust toolchain.

Luckily the folks at action-rs have you covered. They've developed a bunch of actions for Rust's toolchain. All your favourites are there including Clippy!

Why do I need Rust on macOS? I like to test my code across as many platforms as possible. You can use a job strategy in your workflow to achieve this.

There's a handy quickstart guide on the action-rs "meta" GitHub repo.

p.s. Can you tell I'm super excited about GitHub Actions? Doing a lot of squeeing at the moment despite coming across the odd quirk.


Original Link: https://dev.to/booyaa/github-actions-rust-edition-46e5

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To