Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion mise.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ experimental = true
[tools]
python = "3.12.12"
uv = "0.5.31"
rust = { version = "1.97.0", profile = "default", components = ["rustfmt", "clippy", "llvm-tools-preview"] }
rust = { version = "1.97.0", profile = "default", components = ["rustfmt", "clippy", "llvm-tools"] }
"cargo:cargo-deny" = "0.20.2"
"cargo:cargo-llvm-cov" = "0.8.7"
node = ["24.12.0", "22.23.2"]
Expand Down
6 changes: 6 additions & 0 deletions tools/ci/tests/test_public_tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import re
import subprocess
import tomllib
from pathlib import Path

from tools.ci import check_public_tree
Expand Down Expand Up @@ -56,6 +57,11 @@ def test_bootstrap_uses_root_locks_even_in_ci() -> None:
assert not (REPOSITORY_ROOT / "packages/sie_ts_sdk/pnpm-lock.yaml").exists()


def test_bootstrap_installs_canonical_rust_components() -> None:
mise_config = tomllib.loads((REPOSITORY_ROOT / "mise.toml").read_text())
assert mise_config["tools"]["rust"]["components"] == ["rustfmt", "clippy", "llvm-tools"]


def test_ci_is_fork_safe_and_actions_are_immutable() -> None:
workflow = (REPOSITORY_ROOT / ".github/workflows/ci.yml").read_text()
assert "pull_request_target" not in workflow
Expand Down
2 changes: 1 addition & 1 deletion tools/mise_tasks/gateway-coverage.bash
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

set -euo pipefail

# cargo-llvm-cov needs the `llvm-tools-preview` rustup component, which
# cargo-llvm-cov needs the canonical `llvm-tools` rustup component, which
# mise.toml declares alongside the rust toolchain pin so `mise install`
# provisions it on every dev machine and CI runner.
#
Expand Down
Loading