From 8a48bfb4022dc454c5c74287711a24ea19276cb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Garillot?= <4142+huitseeker@users.noreply.github.com> Date: Tue, 12 Nov 2024 05:53:53 +0700 Subject: [PATCH] chore: Remove pinned version of cargo-local-registry (#2677) cargo-local-registry builds fine on rust 1.81.0 - Updated `test_publish.sh` script to document use the latest version of `cargo-local-registry`. - Modified GitHub actions workflow `documentation.yml` to install latest `cargo-local-registry` version. - Fixes #2338 --- .github/workflows/documentation.yml | 3 +-- scripts/test_publish.sh | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 3d526909c57..3c77fd05350 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -68,8 +68,7 @@ jobs: - name: Install cargo tools run: | cargo install --locked cargo-index - # TODO(#2338): Remove the pinned Git URL and revision - cargo install --locked cargo-local-registry --git https://github.com/dhovart/cargo-local-registry --rev 2b20904a + cargo install --locked cargo-local-registry - name: Setup git committer information run: | git config --global user.email "ci@linera.io" diff --git a/scripts/test_publish.sh b/scripts/test_publish.sh index 065af0b0d29..5ed879d218b 100755 --- a/scripts/test_publish.sh +++ b/scripts/test_publish.sh @@ -3,8 +3,7 @@ # Use a local registry to simulate publishing crates from the current workspace. # # Requirements (MacOS): -# # TODO(#2338): remove the pinned revision -# cargo install --locked cargo-local-registry --git https://github.com/dhovart/cargo-local-registry --rev 2b20904a +# cargo install cargo-local-registry # cargo install cargo-index # brew install jq #