From c5ca6a8216427e24a443b8c032e60e1f9bc3bb42 Mon Sep 17 00:00:00 2001 From: Clement Tsang <34804052+ClementTsang@users.noreply.github.com> Date: Thu, 25 Sep 2025 00:16:17 -0400 Subject: [PATCH] ci: bump cargo-action to 0.0.7, rust-cache to 2.8.1, and rust-toolchain to e97e2d8 (#1822) * deps: bump cargo-action to 0.0.7 * bump rust-cache and rust-toolchain * bump --- .github/workflows/build_releases.yml | 14 +++++++------- .github/workflows/ci.yml | 20 ++++++++++---------- .github/workflows/coverage.yml | 4 ++-- 3 files changed, 19 insertions(+), 19 deletions(-) diff --git a/.github/workflows/build_releases.yml b/.github/workflows/build_releases.yml index 2d158f6b..bcee64f7 100644 --- a/.github/workflows/build_releases.yml +++ b/.github/workflows/build_releases.yml @@ -137,7 +137,7 @@ jobs: - name: Set up Rust toolchain if: matrix.info.container == '' - uses: dtolnay/rust-toolchain@21dc36fb71dd22e3317045c0c31a3f4249868b17 + uses: dtolnay/rust-toolchain@e97e2d8cc328f1b50210efc529dca0028893a2d9 with: toolchain: ${{ matrix.info.rust || 'stable' }} target: ${{ matrix.info.target }} @@ -151,7 +151,7 @@ jobs: echo "$HOME/.cargo/bin" >> $GITHUB_PATH - name: Build - uses: ClementTsang/cargo-action@v0.0.5 + uses: ClementTsang/cargo-action@v0.0.7 env: BTM_GENERATE: true BTM_BUILD_RELEASE_CALLER: ${{ inputs.caller }} @@ -340,7 +340,7 @@ jobs: choco install -y wixtoolset --no-progress; - name: Set up Rust toolchain - uses: dtolnay/rust-toolchain@21dc36fb71dd22e3317045c0c31a3f4249868b17 + uses: dtolnay/rust-toolchain@e97e2d8cc328f1b50210efc529dca0028893a2d9 with: toolchain: stable target: ${{ matrix.info.target }} @@ -458,14 +458,14 @@ jobs: fetch-depth: 1 - name: Set up Rust toolchain - uses: dtolnay/rust-toolchain@21dc36fb71dd22e3317045c0c31a3f4249868b17 + uses: dtolnay/rust-toolchain@e97e2d8cc328f1b50210efc529dca0028893a2d9 with: toolchain: ${{ matrix.info.rust || 'stable' }} target: ${{ matrix.info.target }} # TODO: Could I use the previous jobs to skip this call? - name: Build - uses: ClementTsang/cargo-action@v0.0.5 + uses: ClementTsang/cargo-action@v0.0.7 env: BTM_GENERATE: true BTM_BUILD_RELEASE_CALLER: ${{ inputs.caller }} @@ -562,14 +562,14 @@ jobs: fetch-depth: 1 - name: Set up Rust toolchain - uses: dtolnay/rust-toolchain@21dc36fb71dd22e3317045c0c31a3f4249868b17 + uses: dtolnay/rust-toolchain@e97e2d8cc328f1b50210efc529dca0028893a2d9 with: toolchain: ${{ matrix.info.rust || 'stable' }} target: ${{ matrix.info.target }} # TODO: Could I use the previous jobs to skip this call? - name: Build - uses: ClementTsang/cargo-action@v0.0.5 + uses: ClementTsang/cargo-action@v0.0.7 env: BTM_GENERATE: true BTM_BUILD_RELEASE_CALLER: ${{ inputs.caller }} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 04e701a6..d2a3b99f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -86,14 +86,14 @@ jobs: uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - name: Set up Rust toolchain - uses: dtolnay/rust-toolchain@21dc36fb71dd22e3317045c0c31a3f4249868b17 + uses: dtolnay/rust-toolchain@e97e2d8cc328f1b50210efc529dca0028893a2d9 with: toolchain: stable components: rustfmt, clippy target: ${{ matrix.info.target }} - name: Enable Rust cache - uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # 2.7.8 + uses: Swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1 # 2.8.1 if: ${{ github.event_name != 'pull_request' || ! github.event.pull_request.head.repo.fork }} # If it is a PR, only if not a fork with: key: ${{ matrix.info.target }} @@ -104,7 +104,7 @@ jobs: # TODO: add junit output using nextest for codecov (https://docs.codecov.com/docs/test-analytics) - name: Build tests - uses: ClementTsang/cargo-action@v0.0.5 + uses: ClementTsang/cargo-action@v0.0.7 with: command: test args: --no-run --locked ${{ matrix.features }} --target=${{ matrix.info.target }} @@ -114,7 +114,7 @@ jobs: RUST_BACKTRACE: full - name: Run tests - uses: ClementTsang/cargo-action@v0.0.5 + uses: ClementTsang/cargo-action@v0.0.7 with: command: test args: --no-fail-fast ${{ matrix.features }} --target=${{ matrix.info.target }} -- --nocapture --quiet @@ -124,7 +124,7 @@ jobs: RUST_BACKTRACE: full - name: Run clippy - uses: ClementTsang/cargo-action@v0.0.5 + uses: ClementTsang/cargo-action@v0.0.7 with: command: clippy args: ${{ matrix.features }} --all-targets --workspace --target=${{ matrix.info.target }} -- -D warnings @@ -240,21 +240,21 @@ jobs: uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - name: Set up Rust toolchain - uses: dtolnay/rust-toolchain@21dc36fb71dd22e3317045c0c31a3f4249868b17 + uses: dtolnay/rust-toolchain@e97e2d8cc328f1b50210efc529dca0028893a2d9 with: toolchain: ${{ matrix.info.rust || 'stable' }} target: ${{ matrix.info.target }} components: "clippy" - name: Enable Rust cache - uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # 2.7.8 + uses: Swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1 # 2.8.1 if: ${{ github.event_name != 'pull_request' || ! github.event.pull_request.head.repo.fork }} # If it is a PR, only if not a fork with: key: ${{ matrix.info.target }} cache-all-crates: true - name: Clippy (default features) - uses: ClementTsang/cargo-action@v0.0.5 + uses: ClementTsang/cargo-action@v0.0.7 if: ${{ matrix.info.no-default-features != true }} with: command: clippy @@ -263,7 +263,7 @@ jobs: cross-version: ${{ matrix.info.cross-version || '0.2.5' }} - name: Clippy (no features enabled) - uses: ClementTsang/cargo-action@v0.0.5 + uses: ClementTsang/cargo-action@v0.0.7 if: ${{ matrix.info.no-default-features == true }} with: command: clippy @@ -308,7 +308,7 @@ jobs: fetch-depth: 1 - name: Enable Rust cache - uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # 2.7.8 + uses: Swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1 # 2.8.1 if: ${{ github.event_name != 'pull_request' || ! github.event.pull_request.head.repo.fork }} # If it is a PR, only if not a fork with: key: ${{ matrix.info.target }}-${{ matrix.info.os_release }} diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 8322060d..0c3d62c7 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -50,12 +50,12 @@ jobs: uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - name: Set up Rust toolchain - uses: dtolnay/rust-toolchain@21dc36fb71dd22e3317045c0c31a3f4249868b17 + uses: dtolnay/rust-toolchain@e97e2d8cc328f1b50210efc529dca0028893a2d9 with: toolchain: stable - name: Enable Rust cache - uses: Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # 2.7.8 + uses: Swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1 # 2.8.1 if: ${{ github.event_name != 'pull_request' || ! github.event.pull_request.head.repo.fork }} # If it is a PR, only if not a fork with: key: ${{ matrix.info.target }}