From c9cde3455b0f354259f224fc756ec4321ffb3909 Mon Sep 17 00:00:00 2001 From: Rain Date: Sun, 3 Dec 2023 14:13:55 -0800 Subject: [PATCH] [release] update cargo-release to 0.25.0 We lose the idempotency behavior if no packages need to be published`, but 0.21.4 was already not idempotent in a bunch of ways so it's not a huge loss. We also gain support for workspace inheritance and many bug fixes. --- .github/workflows/release.yml | 32 ++++++++++---------------------- 1 file changed, 10 insertions(+), 22 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a41182e5857..bee6f01beaf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,13 +17,9 @@ jobs: - name: Install Rust uses: dtolnay/rust-toolchain@stable - name: Install cargo release - uses: baptiste0928/cargo-install@2cfb0024938d23011106cbf127b393bc83fddba1 # v1 + uses: taiki-e/install-action@d211c4be5a95cbcd52a0870dda7d63a107a58368 # v2 with: - crate: cargo-release - # Version 0.21.4 has the idempotency behavior we want, until - # https://github.com/crate-ci/cargo-release/issues/594 is addressed. - version: =0.21.4 - locked: true + tool: cargo-release@0.25.0 - uses: taiki-e/create-gh-release-action@8df4de6534ceacdaed10a08f73418ca751f31793 # v1 with: prefix: quick-junit @@ -46,11 +42,9 @@ jobs: - name: Install Rust uses: dtolnay/rust-toolchain@stable - name: Install cargo release - uses: baptiste0928/cargo-install@2cfb0024938d23011106cbf127b393bc83fddba1 # v1 + uses: taiki-e/install-action@d211c4be5a95cbcd52a0870dda7d63a107a58368 # v2 with: - crate: cargo-release - version: =0.21.4 - locked: true + tool: cargo-release@0.25.0 - uses: taiki-e/create-gh-release-action@8df4de6534ceacdaed10a08f73418ca751f31793 # v1 with: prefix: nextest-filtering @@ -73,11 +67,9 @@ jobs: - name: Install Rust uses: dtolnay/rust-toolchain@stable - name: Install cargo release - uses: baptiste0928/cargo-install@2cfb0024938d23011106cbf127b393bc83fddba1 # v1 + uses: taiki-e/install-action@d211c4be5a95cbcd52a0870dda7d63a107a58368 # v2 with: - crate: cargo-release - version: =0.21.4 - locked: true + tool: cargo-release@0.25.0 - uses: taiki-e/create-gh-release-action@8df4de6534ceacdaed10a08f73418ca751f31793 # v1 with: prefix: nextest-metadata @@ -100,11 +92,9 @@ jobs: - name: Install Rust uses: dtolnay/rust-toolchain@stable - name: Install cargo release - uses: baptiste0928/cargo-install@2cfb0024938d23011106cbf127b393bc83fddba1 # v1 + uses: taiki-e/install-action@d211c4be5a95cbcd52a0870dda7d63a107a58368 # v2 with: - crate: cargo-release - version: =0.21.4 - locked: true + tool: cargo-release@0.25.0 - uses: taiki-e/create-gh-release-action@8df4de6534ceacdaed10a08f73418ca751f31793 # v1 with: prefix: nextest-runner @@ -245,11 +235,9 @@ jobs: - name: Install Rust uses: dtolnay/rust-toolchain@stable - name: Install cargo release - uses: baptiste0928/cargo-install@2cfb0024938d23011106cbf127b393bc83fddba1 # v1 + uses: taiki-e/install-action@d211c4be5a95cbcd52a0870dda7d63a107a58368 # v2 with: - crate: cargo-release - version: =0.21.4 - locked: true + tool: cargo-release@0.25.0 - name: Download mukti run: | mkdir -p ~/bin