johnthagen / rust-belt

:rocket: Asteroids-like arcade game implemented in Rust ✨
73 stars 6 forks source link

Pin rustfmt version #164

Closed johnthagen closed 7 years ago

johnthagen commented 7 years ago

rustfmt-nightly depends on nightly, so we can't let rustfmt bump the latest version arbitrarily or it can (and does) break when trying to run it against a pinned older nightly we're using for clippy.

This way the build will always keep working, and we just need to bump the Travis versions when a new version comes out to use the latest rustfmt.

Ideally, I think the next step would be to split clippy and rustfmt into separate CI builds.