Skip to content

Commit

Permalink
Merge pull request #379 from djmitche/xtask-paths
Browse files Browse the repository at this point in the history
Update 'cargo xtask msrv' paths
  • Loading branch information
djmitche authored Apr 21, 2024
2 parents 019d189 + e3c1d76 commit 0c7a10e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions xtask/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ use std::path::{Path, PathBuf};

/// Tuples of the form (PATH, REGEX) where PATH and REGEX are literals where PATH is a file that
/// conains the Minimum Supported Rust Version and REGEX is the pattern to find the appropriate
/// line in the file. PATH is relative to the `taskchampion/` directory in the repo.
/// line in the file. PATH is relative to the root directory in the repo.
const MSRV_PATH_REGEX: &[(&str, &str)] = &[
(
"../.github/workflows/checks.yml",
".github/workflows/checks.yml",
r#"toolchain: "[0-9.]+*" # MSRV"#,
),
("../.github/workflows/rust-tests.yml", r#""[0-9.]+" # MSRV"#),
(".github/workflows/rust-tests.yml", r#""[0-9.]+" # MSRV"#),
(
"taskchampion/src/lib.rs",
r#"Rust version [0-9.]* and higher"#,
Expand Down

0 comments on commit 0c7a10e

Please sign in to comment.