Files
OpenShell/tasks/rust.toml
Drew Newberry 8849291bd3 fix(ci): exclude openshell-vm from workspace CI tasks
openshell-vm links against libkrun which is only available on macOS
with Homebrew. Exclude it from cargo check, clippy, and test workspace
commands so CI passes on Linux runners.
2026-03-17 16:37:50 -07:00

25 lines
646 B
TOML

# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
# Rust check, lint, and format tasks
["rust:check"]
description = "Check all Rust crates for errors"
run = "cargo check --workspace --exclude openshell-vm"
hide = true
["rust:lint"]
description = "Lint Rust code with Clippy"
run = "cargo clippy --workspace --all-targets --exclude openshell-vm"
hide = true
["rust:format"]
description = "Format Rust code"
run = "cargo fmt --all"
hide = true
["rust:format:check"]
description = "Check Rust formatting"
run = "cargo fmt --all -- --check"
hide = true