Skip to content

chore(rustup): add rust-toolchain.toml config#438

Merged
harlem88 merged 2 commits intoastarte-platform:masterfrom
joshuachp:chore/rust-toolchain
Apr 4, 2025
Merged

chore(rustup): add rust-toolchain.toml config#438
harlem88 merged 2 commits intoastarte-platform:masterfrom
joshuachp:chore/rust-toolchain

Conversation

@joshuachp
Copy link
Copy Markdown
Collaborator

Specify the latest compatible toolchain in the rust-toolchain.toml file. This will give better stability in local development and CI, without random breakages and new warning to solve.

Currently we use the beta channel for an issue in rust-analyzer on 1.85.1, where diagnostics are cleared. But we should move to the stable channel on next release.

@joshuachp joshuachp force-pushed the chore/rust-toolchain branch 3 times, most recently from baa7e59 to e8fbab8 Compare April 2, 2025 14:13
@joshuachp joshuachp marked this pull request as ready for review April 2, 2025 14:14
@joshuachp joshuachp force-pushed the chore/rust-toolchain branch 2 times, most recently from 0018833 to 3ce9b76 Compare April 2, 2025 15:35
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 2, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 65.6%. Comparing base (8a38442) to head (6ac7fc5).
Report is 3 commits behind head on master.

Additional details and impacted files

see 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown
Contributor

@lucaato lucaato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A part from a comment LGTM. Maybe we could schedule a job to run on master every n days to check the build for newer version. If we want something to push us to update the toolchain version in the toml.

@joshuachp joshuachp force-pushed the chore/rust-toolchain branch from 3ce9b76 to f11a00c Compare April 3, 2025 10:40
@joshuachp joshuachp force-pushed the chore/rust-toolchain branch 2 times, most recently from fb01059 to 7eabc54 Compare April 3, 2025 15:29
Specify the latest compatible toolchain in the rust-toolchain.toml file.
This will give better stability in local development and CI, without
random breakages and new warning to solve.

Currently we use the beta channel for an issue in rust-analyzer on
1.85.1, where diagnostics are cleared. But we should move to the stable
channel on next release.

Signed-off-by: Joshua Chapman <joshua.chapman@secomind.com>
Use the https://github.com/actions-rust-lang/setup-rust-toolchain action
to install the rust toolchain from file.

Signed-off-by: Joshua Chapman <joshua.chapman@secomind.com>
@joshuachp joshuachp force-pushed the chore/rust-toolchain branch from 7eabc54 to 6ac7fc5 Compare April 4, 2025 07:50
@harlem88 harlem88 merged commit 626626a into astarte-platform:master Apr 4, 2025
18 checks passed
@joshuachp joshuachp deleted the chore/rust-toolchain branch April 4, 2025 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants