From f5b8360060e9a08e61d9dbe6709c60936c3faf35 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Aug 2025 21:15:03 +0000 Subject: [PATCH 1/2] Bump actions/checkout from 4 to 5 Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/cargo-update.yml | 2 +- .github/workflows/release.yml | 6 +++--- .github/workflows/test.yml | 14 +++++++------- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/cargo-update.yml b/.github/workflows/cargo-update.yml index d599eab62..a03adb02e 100644 --- a/.github/workflows/cargo-update.yml +++ b/.github/workflows/cargo-update.yml @@ -15,7 +15,7 @@ jobs: UPDATE_BRANCH_NAME: auto-cargo-update steps: - name: Checkout the repo - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Cargo update run: cargo update diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4d1b59e8d..cfacdd92e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout the repo - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Install protoc run: sudo apt-get install -y protobuf-compiler @@ -60,7 +60,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Checkout the repo - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: fetch-depth: 0 @@ -99,7 +99,7 @@ jobs: run: sudo apt-get install -yq zip - name: Checkout the repo - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: path: cli diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 483c0e07c..c60f5a069 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout the repo - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Install Rust nightly toolchain run: rustup toolchain install --no-self-update nightly --profile minimal -c rustfmt @@ -41,7 +41,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Checkout the repo - uses: actions/checkout@v4 + uses: actions/checkout@v5 - if: ${{ runner.os == 'macOS' }} name: Install protoc @@ -72,7 +72,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Checkout the repo - uses: actions/checkout@v4 + uses: actions/checkout@v5 - if: ${{ runner.os == 'macOS' }} name: Install protoc @@ -100,7 +100,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Checkout the repo - uses: actions/checkout@v4 + uses: actions/checkout@v5 - if: ${{ runner.os == 'macOS' }} name: Install protoc @@ -131,7 +131,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Checkout the repo - uses: actions/checkout@v4 + uses: actions/checkout@v5 - if: ${{ runner.os == 'macOS' }} name: Install protoc @@ -155,7 +155,7 @@ jobs: container: denoland/deno steps: - name: Checkout the repo - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: deno fmt run: deno fmt --check @@ -171,7 +171,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout the repo - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Script Style Check run: find . -iname "*.sh" -print0 | xargs -0 shellcheck -o all -S style -s sh From 5c99da1bda367f9e0c71e40c7239e8bb819612d8 Mon Sep 17 00:00:00 2001 From: Charles Coggins Date: Mon, 11 Aug 2025 17:15:49 -0500 Subject: [PATCH 2/2] Fix clippy finding --- cli/src/print.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/src/print.rs b/cli/src/print.rs index 83b8d7142..9b3c21cb4 100644 --- a/cli/src/print.rs +++ b/cli/src/print.rs @@ -54,7 +54,7 @@ pub fn print_sc_help(mut app: &mut Command, subcommands: &[&str]) -> Result<()> /// Limit a string to a specific length, using an ellipsis to indicate /// truncation. -pub fn truncate(text: &str, max_length: usize) -> Cow { +pub fn truncate(text: &str, max_length: usize) -> Cow<'_, str> { if text.width() > max_length { let mut len = 0; let truncated = text