From ee3980f4277ceef8abcd50477dd6347915ca73ed Mon Sep 17 00:00:00 2001 From: "gcp-cherry-pick-bot[bot]" <98988430+gcp-cherry-pick-bot[bot]@users.noreply.github.com> Date: Tue, 25 Feb 2025 11:16:21 +0100 Subject: [PATCH] Bring back our CI (cherry-pick #25545) (#25550) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cherry-picked Bring back our CI (#25545) Closes #ISSUE Fix `The package requires the Cargo feature called edition2024, but that feature is not stabilized in this version of Cargo (1.81.0` Release Notes: - N/A Co-authored-by: 张小白 <364772080@qq.com> --- .github/workflows/ci.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d2de0b9a2918ad402f137a9c002f299318730385..912f19e4978b5029ca595705a6b37df7f7b81b16 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -109,8 +109,16 @@ jobs: - name: cargo clippy run: ./script/clippy + - name: Install cargo-machete + uses: clechasseur/rs-cargo@v2 + with: + command: install + args: cargo-machete@0.7.0 + - name: Check unused dependencies - uses: bnjbvr/cargo-machete@main + uses: clechasseur/rs-cargo@v2 + with: + command: machete - name: Check licenses run: |