Closed CPerezz closed 3 years ago
Looks like we needed to install clippy
too using the toolchain commands. Sorry about that.
So as always, there are versions of nightly
that don't have clippy yet. So for this case, I'll basically set a fixed rustc
toolchain version in the CI that overwrites the one from the rust-toolchain
file.
The other fix is to remove line 25
on src/constraint_system/composer.rs
, somehow that redundant import snuck in.
I think something like this should work: See next comment.
- uses: actions-rs/toolchain@v1
with:
override: false
profile: minimal
components: clippy
I think this should work, no need to set a specific version in the While we're at it, rust-toolchain
file.rust-toolchain
is deprecated in favor of rust-toolchain.toml
. Ours would be something like:
[toolchain]
channel = "nightly"
components = ["clippy", "rustfmt"]
profile = "minimal"
See: https://rust-lang.github.io/rustup/overrides.html#the-toolchain-file. Then, we can probably leave the CI as is: https://github.com/actions-rs/toolchain#the-toolchain-file.
Just need to remove -D warnings
from cargo test
.
Finally all good! Thanks for your patience, sorry about the errors.
Finally all good! Thanks for your patience, sorry about the errors.
Thanks to you!!! I appreciate the help and the speed on replying!!
In #38 an error was introduced in the CI so that it wasn't possible to run them since they were panicking before starting.
Resolves: #39
Co-authored-by: Brandon H. Gomes bhgomes@pm.me