diff --git a/.github/workflows/build_interu.yml b/.github/workflows/build_interu.yml index a7afdd7..5347567 100644 --- a/.github/workflows/build_interu.yml +++ b/.github/workflows/build_interu.yml @@ -15,7 +15,7 @@ on: type: boolean env: - RUST_VERSION: 1.83.0 + RUST_VERSION: 1.97.1 jobs: build: diff --git a/Cargo.lock b/Cargo.lock index 7a3230a..e97e180 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -563,9 +563,9 @@ dependencies = [ [[package]] name = "rand" -version = "0.8.5" +version = "0.8.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" +checksum = "e058c7de0b26af77780c769414d6257830bb240f3c38477dbc2c16e5f54d6d4c" dependencies = [ "libc", "rand_chacha", @@ -812,9 +812,9 @@ checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" [[package]] name = "slab" -version = "0.4.10" +version = "0.4.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04dc19736151f35336d325007ac991178d504a119863a2fcb3758cdb5e52c50d" +checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5" [[package]] name = "snafu" diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 068e7d2..fec59e7 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1 +1 @@ -toolchain.channel = "1.95.0" +toolchain.channel = "1.97.1" diff --git a/tools/interu/src/config/mod.rs b/tools/interu/src/config/mod.rs index 775f604..3d2f715 100644 --- a/tools/interu/src/config/mod.rs +++ b/tools/interu/src/config/mod.rs @@ -110,7 +110,7 @@ impl Config { P: AsRef, { self.get_profile(profile_name)? - .validate_test_options(&profile_name, path) + .validate_test_options(profile_name, path) .context(ValidateTestOptionsSnafu) } @@ -269,21 +269,21 @@ impl<'a> Display for Parameters<'a> { let mut test_set = String::new(); #[rustfmt::skip] // Skip formatting because otherwise the next line would be split into three lines. - write!(f, "INTERU_KUBERNETES_DISTRIBUTION={kubernetes_distribution}\n")?; - write!(f, "INTERU_KUBERNETES_VERSION={kubernetes_version}\n")?; - write!(f, "BEKU_TEST_PARALLELISM={test_parallelism}\n")?; - write!(f, "INTERU_CLUSTER_TTL={cluster_ttl}\n")?; + writeln!(f, "INTERU_KUBERNETES_DISTRIBUTION={kubernetes_distribution}")?; + writeln!(f, "INTERU_KUBERNETES_VERSION={kubernetes_version}")?; + writeln!(f, "BEKU_TEST_PARALLELISM={test_parallelism}")?; + writeln!(f, "INTERU_CLUSTER_TTL={cluster_ttl}")?; if test_suite.is_none() && test.is_none() { test_set.push_str("all"); } if let Some(test_suite_name) = test_suite { - write!(f, "BEKU_TEST_SUITE={test_suite_name}\n")?; + writeln!(f, "BEKU_TEST_SUITE={test_suite_name}")?; } if let Some(test_name) = test { - write!(f, "BEKU_TEST={test_name}\n")?; + writeln!(f, "BEKU_TEST={test_name}")?; } // See: https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#multiline-strings