| 1 |
[[tests]] |
| 2 |
name = "cargo-test-{{toolchain}}" |
| 3 |
command = ["cargo", "+{{toolchain}}", "test", "--all", "--frozen"] |
| 4 |
|
| 5 |
[[tests.env]] |
| 6 |
name = "CARGO_TARGET_DIR" |
| 7 |
value = "target/{{name}}" |
| 8 |
|
| 9 |
[tests.variables] |
| 10 |
toolchain = ["stable", "beta", "nightly", "1.79.0"] |
| 11 |
|
| 12 |
[[tests]] |
| 13 |
name = "cargo-clippy" |
| 14 |
command = ["cargo", "+stable", "clippy", "--all", "--frozen", "--all-targets", "--", "-D", "warnings"] |
| 15 |
|
| 16 |
[[tests.env]] |
| 17 |
name = "CARGO_TARGET_DIR" |
| 18 |
value = "target/cargo-test-nightly" |
| 19 |
|
| 20 |
[[tests]] |
| 21 |
name = "cargo-fmt" |
| 22 |
command = ["cargo", "fmt", "--all", "--", "--check"] |