Skip to content

Commit 4fcdcca

Browse files
author
Alex J Lennon
committed
fix: upgrade to Rust 1.90 and use latest cargo tools
- Update all workflows and Dockerfile to use rust:1.90-bullseye - Remove version pinning for cargo-edit and cargo-outdated - Use latest versions of cargo tools with modern Rust support - Rust 1.90 supports edition2024 and latest cargo ecosystem - Ensures maintenance workflow uses current, not outdated dependencies
1 parent 1d7932b commit 4fcdcca

File tree

3 files changed

+11
-13
lines changed

3 files changed

+11
-13
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
name: Test and Quality Checks
2020
runs-on: ubuntu-latest
2121
container:
22-
image: rust:1.83-bullseye
22+
image: rust:1.90-bullseye
2323
options: --user root
2424

2525
steps:
@@ -78,7 +78,7 @@ jobs:
7878
name: Security Audit
7979
runs-on: ubuntu-latest
8080
container:
81-
image: rust:1.83-bullseye
81+
image: rust:1.90-bullseye
8282

8383
steps:
8484
- name: Checkout code
@@ -105,7 +105,7 @@ jobs:
105105
runs-on: ubuntu-latest
106106
needs: [test, security]
107107
container:
108-
image: rust:1.83-bullseye
108+
image: rust:1.90-bullseye
109109
options: --user root
110110

111111
strategy:

.github/workflows/maintenance.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
runs-on: ubuntu-latest
3030
if: github.event_name == 'schedule' || github.event.inputs.update_dependencies == 'true'
3131
container:
32-
image: rust:1.83-bullseye
32+
image: rust:1.90-bullseye
3333
options: --user root
3434

3535
steps:
@@ -49,9 +49,8 @@ jobs:
4949
5050
- name: Install cargo-edit and cargo-outdated
5151
run: |
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"
52+
# Install latest versions with Rust 1.90
53+
cargo install cargo-edit cargo-outdated
5554
5655
- name: Check for outdated dependencies
5756
run: |
@@ -111,7 +110,7 @@ jobs:
111110
runs-on: ubuntu-latest
112111
if: github.event_name == 'schedule' || github.event.inputs.security_audit == 'true'
113112
container:
114-
image: rust:1.83-bullseye
113+
image: rust:1.90-bullseye
115114

116115
steps:
117116
- name: Checkout code
@@ -170,7 +169,7 @@ jobs:
170169
runs-on: ubuntu-latest
171170
if: github.event_name == 'schedule'
172171
container:
173-
image: rust:1.83-bullseye
172+
image: rust:1.90-bullseye
174173

175174
steps:
176175
- name: Checkout code
@@ -189,9 +188,8 @@ jobs:
189188
190189
- name: Install quality tools
191190
run: |
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"
191+
# Install latest versions with Rust 1.90
192+
cargo install cargo-bloat cargo-outdated
195193
196194
- name: Generate code metrics
197195
run: |

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# This Dockerfile provides a consistent development environment
33
# for building and testing the eink-power-cli application
44

5-
FROM rust:1.83-bullseye
5+
FROM rust:1.90-bullseye
66

77
# Metadata
88
LABEL maintainer="Alex J Lennon <[email protected]>"

0 commit comments

Comments
 (0)