pub enum CiCommand {
InstallDocTools(InstallDocToolsArgs),
Matrix,
ClippyReport(ClippyReportArgs),
}Expand description
Subcommands available under cargo xtask ci.
Variants§
InstallDocTools(InstallDocToolsArgs)
Install and cache mdBook, mdbook-epub, mdbook-mermaid, and optionally Zola.
Reads from the GitHub Actions cache (populated by actions/cache before
this step) and installs any tools not already present. Appends the
install directory to $GITHUB_PATH so subsequent steps can invoke the
tools directly.
Matrix
Scan workspace Cargo.toml files and emit a GitHub Actions dynamic matrix JSON.
Writes matrix=<json> to $GITHUB_OUTPUT (or stdout when run locally).
Consume the output with fromJson(needs.<job>.outputs.matrix).
ClippyReport(ClippyReportArgs)
Deduplicate clippy JSON artifacts and post a single reviewdog report.
Reads every .json file produced by cargo xtask clippy --save-json
from --artifacts-dir, deduplicates diagnostics across feature labels,
and pipes the unique set through reviewdog once using the
github-pr-review reporter.
Trait Implementations§
Source§impl FromArgMatches for CiCommand
impl FromArgMatches for CiCommand
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§fn update_from_arg_matches_mut<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§impl Subcommand for CiCommand
impl Subcommand for CiCommand
Source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
Source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Command] so it can instantiate self via
[FromArgMatches::update_from_arg_matches_mut] Read moreSource§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Self can parse a specific subcommand