Skip to content

Commit 1d7932b

Browse files
author
Alex J Lennon
committed
fix: pin cargo tool versions to avoid edition2024 requirement
- Pin cargo-edit to v0.12.3 (compatible with Rust 1.83) - Pin cargo-outdated to v0.15.0 (compatible with Rust 1.83) - Pin cargo-bloat to v0.12.1 (compatible with Rust 1.83) - Avoids edition2024 feature requirement that needs nightly Rust - Resolves maintenance workflow failures with tool installation
1 parent d41dcca commit 1d7932b

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/maintenance.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,9 @@ jobs:
4949
5050
- name: Install cargo-edit and cargo-outdated
5151
run: |
52-
# Install latest versions compatible with Rust 1.83
53-
cargo install cargo-edit cargo-outdated
52+
# Install specific versions compatible with Rust 1.83 (avoid edition2024 requirement)
53+
cargo install cargo-edit --version "0.12.3"
54+
cargo install cargo-outdated --version "0.15.0"
5455
5556
- name: Check for outdated dependencies
5657
run: |
@@ -188,8 +189,9 @@ jobs:
188189
189190
- name: Install quality tools
190191
run: |
191-
# Install latest versions compatible with Rust 1.83
192-
cargo install cargo-bloat cargo-outdated
192+
# Install specific versions compatible with Rust 1.83 (avoid edition2024 requirement)
193+
cargo install cargo-bloat --version "0.12.1"
194+
cargo install cargo-outdated --version "0.15.0"
193195
194196
- name: Generate code metrics
195197
run: |

0 commit comments

Comments
 (0)