Skip to content

Commit bdfd809

Browse files
authored
CI: Pin cargo-release and cargo-semver-checks (#639)
#### 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 785fa0c commit bdfd809

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
@@ -97,7 +97,7 @@ jobs:
9797
- name: Install cargo-semver-checks
9898
uses: taiki-e/install-action@v2
9999
with:
100-
tool: cargo-semver-checks,cargo-release
100+
tool: cargo-semver-checks@0.42.0,cargo-release@0.25.18
101101

102102
- name: Set Git Author (required for cargo-release)
103103
run: |
@@ -139,7 +139,7 @@ jobs:
139139
- name: Install cargo-release
140140
uses: taiki-e/install-action@v2
141141
with:
142-
tool: cargo-release
142+
tool: cargo-release@0.25.18
143143

144144
- name: Ensure CARGO_REGISTRY_TOKEN variable is set
145145
env:

0 commit comments

Comments
 (0)