Skip to content

Commit 2c3716c

Browse files
authored
CI: Pin cargo-release and cargo-semver-checks (#37)
#### Problem The release job is failing because it can't install cargo-semver-checks due to the lower Rust version declared in the repo. Also, cargo-release just bumped up to 1.87 on master, which means that a release with a higher MSRV is just around the corner. #### Summary of changes Pin the versions of both tools to the latest that supports Rust 1.86.
1 parent b3fc873 commit 2c3716c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish-rust.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787
- name: Install cargo-semver-checks
8888
uses: taiki-e/install-action@v2
8989
with:
90-
tool: cargo-semver-checks,cargo-release
90+
tool: cargo-semver-checks@0.42.0,cargo-release@0.25.18
9191

9292
- name: Set Git Author (required for cargo-release)
9393
run: |
@@ -129,7 +129,7 @@ jobs:
129129
- name: Install cargo-release
130130
uses: taiki-e/install-action@v2
131131
with:
132-
tool: cargo-release
132+
tool: cargo-release@0.25.18
133133

134134
- name: Ensure CARGO_REGISTRY_TOKEN variable is set
135135
env:

0 commit comments

Comments
 (0)