remove trailing whitespaces
Cargo Format, Check and Test / cargo fmt (push) Successful in 1m0s Details
Cargo Format, Check and Test / cargo check (push) Successful in 1m20s Details
Cargo Format, Check and Test / cargo test (push) Failing after 1m16s Details

This commit is contained in:
Christoph J. Scherr 2024-01-10 21:45:40 +01:00
parent 6330c3da48
commit 6dcc45d722
2 changed files with 6 additions and 6 deletions

View File

@ -3,7 +3,7 @@ on: [push, pull_request]
jobs:
format:
name: cargo test
name: cargo fmt
permissions:
# Give the default GITHUB_TOKEN write permission to commit and push the
# added or changed files to the repository.
@ -19,7 +19,7 @@ jobs:
# Defaults to "Apply automatic changes"
commit_message: Automatical formatting
check:
name: cargo test
name: cargo check
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable

View File

@ -42,11 +42,11 @@ static LONG_ABOUT_ROOT: &'static str = r##"
/// makes use of composition to build a complex system of commands, subcommands, flags and options.
#[derive(Debug, Clone, Parser)]
#[command(
author,
version,
about = ABOUT_ROOT,
author,
version,
about = ABOUT_ROOT,
long_about = format!("{}{}", ABOUT_ROOT ,LONG_ABOUT_ROOT),
help_template =
help_template =
r#"libpt: {version}{about-section}Author:
{author-with-newline}
{usage-heading} {usage}{all-args}{tab}"#