Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/daily_security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ permissions: {}
jobs:
audit:
runs-on: ubuntu-latest
env:
# cargo-audit is compiled during this job, and its dependencies sometimes require a newer compiler than we pin in rust-toolchain.toml.
# Because the result of the check does not at all depend on the Rust compiler we just use the latest stable one here to save us some trouble.
RUSTUP_TOOLCHAIN: stable
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr_security-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ env:
CARGO_TERM_COLOR: always
CARGO_INCREMENTAL: "0"
CARGO_PROFILE_DEV_DEBUG: "0"
RUST_TOOLCHAIN_VERSION: "1.95.0"
RUST_TOOLCHAIN_VERSION: "1.97.1"
RUSTFLAGS: "-D warnings"
RUSTDOCFLAGS: "-D warnings"
RUST_LOG: "info"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
- crates/**

env:
RUST_TOOLCHAIN_VERSION: "1.95.0"
RUST_TOOLCHAIN_VERSION: "1.97.1"

permissions: {}

Expand Down
14 changes: 7 additions & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions crates/stackable-operator/src/kvp/key.rs
Original file line number Diff line number Diff line change
Expand Up @@ -440,15 +440,15 @@ mod test {
const EXAMPLE_PREFIX_STR: &str = "stackable.tech";

let example_prefix = KeyPrefix::from_str(EXAMPLE_PREFIX_STR).expect("valid test prefix");
assert!(example_prefix == EXAMPLE_PREFIX_STR);
assert_eq!(example_prefix, EXAMPLE_PREFIX_STR);
}

#[test]
fn name_equality() {
const EXAMPLE_NAME_STR: &str = "managed-by";

let example_name = KeyName::from_str(EXAMPLE_NAME_STR).expect("valid test name");
assert!(example_name == EXAMPLE_NAME_STR);
assert_eq!(example_name, EXAMPLE_NAME_STR);
}

#[rstest]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ impl Struct {
.map(|version| {
format!(
"{group}/{version}",
group = &spec_gen_ctx.kubernetes_arguments.group
group = spec_gen_ctx.kubernetes_arguments.group
)
})
.collect::<Vec<_>>();
Expand Down Expand Up @@ -614,7 +614,7 @@ impl Struct {
let api_versions = version_strings.iter().map(|version| {
format!(
"{group}/{version}",
group = &spec_gen_ctx.kubernetes_arguments.group
group = spec_gen_ctx.kubernetes_arguments.group
)
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ impl Struct {
.map(|version| {
format!(
"{group}/{version}",
group = &spec_gen_ctx.kubernetes_arguments.group
group = spec_gen_ctx.kubernetes_arguments.group
)
})
.collect::<Vec<_>>();
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[toolchain]
channel = "1.95.0"
channel = "1.97.1"
profile = "default"
Loading