Skip to content

Add actions for msrv check and fix lints#44

Open
decryphe wants to merge 3 commits into
faassen:mainfrom
decryphe:add-actions-for-msrv-check-and-fix-lints
Open

Add actions for msrv check and fix lints#44
decryphe wants to merge 3 commits into
faassen:mainfrom
decryphe:add-actions-for-msrv-check-and-fix-lints

Conversation

@decryphe

Copy link
Copy Markdown

Sorry for not having done anything as per the xmldsig issue I opened more than a year ago!

Where I work the issue that needed that functionality got postponed due to other priorities, but came up again now. I thought I'd begin with a smaller housekeeping task if that's all right with you.

I added a Gitlab CI Action that checks whether a specific Rust MSRV still builds and added that to the Cargo.toml. I picked version 1.78 because it's the first version that supports Cargo.lock version 4 files.
It would be possible to downgrade to an earlier Rust version if the Cargo.lock version field is set to 3 - there's nothing in it that isn't version 3 incompatible. I tested various versions, but the oldest possible is 1.75 as the codebase uses RPIT syntax. What's your opinion on this?

In addition, I added a justfile that makes it easy to run the same commands locally that get executed by the Github Actions. I haven't found any better way yet to do this than adding a separate file and manually ensuring they don't diverge over time.

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.

2 participants