clash/mise.toml
renovate[bot] 60e2da7f51
Update dependency cargo:cargo-nextest to v0.9.144 (#505)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [cargo:cargo-nextest](https://redirect.github.com/nextest-rs/nextest)
| tools | patch | `0.9.143` → `0.9.144` |

---

### Release Notes

<details>
<summary>nextest-rs/nextest (cargo:cargo-nextest)</summary>

###
[`v0.9.144`](https://redirect.github.com/nextest-rs/nextest/releases/tag/cargo-nextest-0.9.144):
cargo-nextest 0.9.144

[Compare
Source](https://redirect.github.com/nextest-rs/nextest/compare/cargo-nextest-0.9.143...cargo-nextest-0.9.144)

##### Changed

- Failures while setting up [run
recording](https://nexte.st/docs/features/record-replay-rerun/) (for
example, a store directory that cannot be created) are now always
reported as warnings, and the test run continues without recording.
Previously, only a store format version mismatch was treated as a
warning, and other setup failures aborted the run. This makes setup
consistent with recording finalization, which already never fails a run.
([#&#8203;3547])
- The "continue rerunning" hint printed when a rerun has outstanding
tests is now only shown when the rerun was itself recorded, since `cargo
nextest run -R latest` can only continue the chain in that case.
([#&#8203;3548])

##### Fixed

- Fixed the elapsed time shown in per-test running lines for tests that
had been running for more than an hour. The minutes field was displayed
as the total number of minutes rather than the minutes within the hour,
producing output like `[05:313:30]`. ([#&#8203;3535])
- When a `cargo metadata` or `cargo build` invocation fails, the error
message now shows the full list of arguments that were passed to Cargo,
including `--color` and `--manifest-path`. Previously, some arguments
were omitted from the message. ([#&#8203;3557])

Thanks [chirizxc](https://redirect.github.com/chirizxc),
[latent-9](https://redirect.github.com/latent-9), and
[k-cross](https://redirect.github.com/k-cross) for your first
contributions!

[#&#8203;3535]: https://redirect.github.com/nextest-rs/nextest/pull/3535

[#&#8203;3547]: https://redirect.github.com/nextest-rs/nextest/pull/3547

[#&#8203;3548]: https://redirect.github.com/nextest-rs/nextest/pull/3548

[#&#8203;3557]: https://redirect.github.com/nextest-rs/nextest/pull/3557

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/boardgamers/clash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC43OS4xIiwidXBkYXRlZEluVmVyIjoiNDQuNzkuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-09-11 03:21:43 +00:00

74 lines
2.4 KiB
TOML

[env]
RUST_BACKTRACE = '1'
RUSTFLAGS = '-Dwarnings' # Make sure CI fails on all warnings, including Clippy lints
CARGO_TERM_COLOR = 'always'
[tasks.random-actions]
description = "Run random actions tests"
run = 'cargo test --package server --test random_actions test_random_actions -- --exact --nocapture'
dir = "server"
[tasks.profile-random-actions]
description = "Run AI random actions test with profiling"
run = ["cargo test --release --features profiling --package server --test random_actions test_random_actions -- --exact --nocapture"]
env = { ITERATIONS = "100000" }
dir = "server"
[tasks.test]
description = "Run server tests"
run = 'cargo test {{arg(name="test", default="")}}'
dir = "server"
[tasks.update-tests]
description = "Run server tests and update JSON files"
run = 'cargo nextest run {{arg(name="test", default="")}}'
env = { UPDATE_EXPECTED = "true", RUSTFLAGS = '' }
dir = "server"
[tasks.format-and-lint]
description = "Format and lint all code"
run = [
"cargo fmt",
"cargo clippy --fix --allow-dirty --allow-staged"
]
[tasks.ci]
description = "Run CI tasks server"
run = [
"rustup component add rustfmt", # should be dony by `tools` section, but doesn't work reliably in CI
"rustup component add clippy", # should be dony by `tools` section, but doesn't work reliably in CI
"cargo build",
"cargo fmt --check",
"cargo clippy",
"cargo nextest run",
"git diff --exit-code || exit 1", # Check if there are any uncommitted changes updating JSON files
]
env = { UPDATE_EXPECTED = "true", RUSTFLAGS = '' }
[tasks.profile]
description = "Run AI client with profiling"
run = ["cargo run --release --package client --features profiling --bin local_client -- ai"]
dir = "client"
[tasks.build-remote-server]
description = "Build remote server"
run = "./scripts/build-remote-server.sh test"
[tasks.build-remote-client]
description = "Build remote client"
run = "./scripts/build-remote-client.sh"
[tasks.test-pubish-server]
description = "Test publish server (the real one is done in GitHub Actions)"
run = "./scripts/publish-server.sh test"
[tasks.test-pubish-client]
description = "Test publish client (the real one is done in GitHub Actions)"
run = "./scripts/publish-client.sh test"
[tools]
"cargo:cargo-nextest" = "0.9.144"
"cargo:wasm-bindgen-cli" = "0.2.105"
"cargo:wasm-pack" = "0.15.0"
rust = { version = "1.94.1", targets = "wasm32-unknown-unknown", components = "clippy,rustfmt" }