From c4318651f93479dd6c2458e97583aa18947d4789 Mon Sep 17 00:00:00 2001 From: Marcono1234 Date: Wed, 27 Nov 2024 00:26:29 +0100 Subject: [PATCH] Specify cargo-edit version in GitHub workflow To not run into issues when crate is changed in incompatible way in the future. Could maybe also use `--locked`, but then cannot benefit from fixes in dependencies. --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 64fa751..1895f4e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -34,7 +34,7 @@ jobs: shell: bash # https://github.com/killercup/cargo-edit run: | - cargo install --no-default-features --features set-version cargo-edit + cargo install --no-default-features --features set-version cargo-edit@0.13.0 cargo set-version --bump ${{ inputs.versionBump }} # There is currently no easy way to get the new version number (see also https://github.com/killercup/cargo-edit/issues/524),