-
This week continuing with my project Mastermind, I updated my CI workflow and played around with dev containers.
-
CodeRabbit
CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
-
This was not the first time I heard of nor used Dev containers - In the past, I have experimented with immutable Linux distros like Fedora Silverblue and openSUSE MicroOS. Dev containers are constantly recommended among those communities. Powered by docker, they allow users to have an isolated, reproducible dev environment on top of their operating system.
-
Firstly, I added a section to run the code formatter rustfmt and the linter clippy:
-
This was not the first time I heard of nor used Dev containers - In the past, I have experimented with immutable Linux distros like Fedora Silverblue and openSUSE MicroOS. Dev containers are constantly recommended among those communities. Powered by docker, they allow users to have an isolated, reproducible dev environment on top of their operating system.
-
Clippy
A bunch of lints to catch common mistakes and improve your Rust code. Book: https://doc.rust-lang.org/clippy/
Firstly, I added a section to run the code formatter rustfmt and the linter clippy:
-
I once again worked with Amir to test each other's setup, which was as always a good time! We filed a PR on each other's repo to implement more testing, as well as double checking our CI setup.
-
templates
Repository for Dev Container Templates that are managed by Dev Container spec maintainers. See https://github.com/devcontainers/template-starter to create your own! (by devcontainers)
For my project, I honestly wish there was more work to do, but once again, Rust just made things insanely easy: Because everything I needed, including the package manager, the project manager, the code formatter, the linter are included in the Rust toolchain, all I had to do was using the Rust template image. I simply went with the default configuration, ran the containers, and everything just worked!
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives