From 5dd96eac54df936ee350bdd216625aa42c07c4bc Mon Sep 17 00:00:00 2001 From: PerchAnton <101743951+PerchAnton@users.noreply.github.com> Date: Mon, 26 Oct 2026 23:43:41 +0200 Subject: [PATCH] Keep package commands compatible with Cargo 1.88 --- .github/workflows/ci.yml | 1 + .github/workflows/publish.yml | 4 ++-- docs/RELEASING.md | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 22a51dd..efb0167 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,3 +16,4 @@ jobs: - run: cargo +${{ matrix.rust }} fmt --check - run: cargo +${{ matrix.rust }} clippy --locked --all-targets -- -D warnings - run: cargo +${{ matrix.rust }} publish --dry-run --locked --registry crates-io + - run: cargo +${{ matrix.rust }} package --locked diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ae77272..7821d50 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -40,7 +40,7 @@ jobs: - run: cargo +1.88.0 fmt --check - run: cargo +1.88.0 clippy --locked --all-targets -- -D warnings - run: cargo +1.88.0 publish --dry-run --locked --registry crates-io - - run: cargo +1.88.0 package --locked --registry crates-io + - run: cargo +1.88.0 package --locked - name: Check the packaged tests and record the archive run: | mkdir packaged @@ -80,7 +80,7 @@ jobs: - name: Recheck the archive before requesting a publish token run: | cargo +1.88.0 publish --dry-run --locked --registry crates-io - cargo +1.88.0 package --locked --registry crates-io + cargo +1.88.0 package --locked sha256sum --check verified/SHA256SUMS - uses: rust-lang/crates-io-auth-action@3268eb413133e2960fa4ae0e963ca76380c54cd9 # v1.0.6 id: auth diff --git a/docs/RELEASING.md b/docs/RELEASING.md index 0cd42a3..88d3a63 100644 --- a/docs/RELEASING.md +++ b/docs/RELEASING.md @@ -37,7 +37,7 @@ cargo fmt --check cargo clippy --locked --all-targets -- -D warnings cargo package --locked --list cargo publish --dry-run --locked --registry crates-io -cargo package --locked --registry crates-io +cargo package --locked ``` Run these from a clean checkout. `cargo package` verifies the extracted crate builds.