blob: 8f08d295f7b864dada97ad18f5ddb5f465a5b3ff [file] [log] [blame]
[[tests]]
name = "cargo-test-{{toolchain}}"
command = ["cargo", "+{{toolchain}}", "test", "--all", "--frozen"]
[[tests.env]]
name = "CARGO_TARGET_DIR"
value = "target/{{name}}"
[tests.variables]
toolchain = ["stable", "beta", "nightly", "1.19.0"]
[[tests]]
name = "cargo-clippy"
command = ["cargo", "+nightly", "clippy", "--all", "--frozen", "--all-targets", "--", "-D", "warnings"]
[[tests.env]]
name = "CARGO_TARGET_DIR"
value = "target/cargo-test-nightly"
[[tests]]
name = "cargo-fmt"
command = ["cargo", "fmt", "--all", "--", "--write-mode=diff"]