mirror of
https://github.com/n0-computer/iroh.git
synced 2026-11-29 16:01:19 +00:00
## Description This moves the minimal crates check out of the tests. If it is in tests it is also run as part of the daily "flaky" tests run, which does not help. Not running those reduces the amount of useless CI work. Moved this to it's own workflow, the alternative would be to move it into the big "CI" workflow, which is kind of where it belongs. I only chose not to because it is already so big. But happy to move it there if preferred. There are some minor changes, especially in the windows flow job which was using the github ref and compiler versions as inputs before. ## Breaking Changes n/a ## Notes & open questions I tried to see if this could be limited to only changes to Cargo.toml & Cargo.lock files. But unfortunately any code chances could start using an API that invalidates a minimal crate version, so we're going to have to keep running this all the time. I think this is ready, however this check will fail for the next few days until our newly released crates are more than 3 days old. I'm a bit unhappy that cargo refuses to select an explicitly chosen version in the Cargo.toml file, to me it should only be for versions that would be automatically selected higher than those listed in the Cargo.toml file. ## Change checklist - [x] Self-review. - [x] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant. - [x] Tests if relevant. - [x] All breaking changes documented. - [x] This PR was created by a human that thought critically about the proposed change and wrote an as clear and concise description as they could. - [x] This PR isn't slop, and is carefully crafted to do have the intented effect. --------- Co-authored-by: Philipp Krüger <philipp.krueger1@gmail.com>