Skip to content

configure MSRV#15

Draft
danieleades wants to merge 2 commits into
jf2048:mainfrom
danieleades:msrv
Draft

configure MSRV#15
danieleades wants to merge 2 commits into
jf2048:mainfrom
danieleades:msrv

Conversation

@danieleades
Copy link
Copy Markdown

this PR is stacked on #14

  • configures the MSRV (Cargo.toml rust-version)
  • adds a CI check for the MSRV
  • bumps actions to use nightly compiler

Comment thread .github/workflows/ci.yml
CARGO_NET_GIT_FETCH_WITH_CLI: true
steps:
- uses: actions/checkout@v4
- uses: taiki-e/install-action@cargo-no-dev-deps
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

this allows checking the MSRV for the non-dev deps only (since this is the MSRV that downstream users are impacted by). This means you can freely use newer versions + syntax for dev-deps

Comment thread .github/workflows/ci.yml Outdated
@danieleades danieleades force-pushed the msrv branch 2 times, most recently from ac668de to 70061e9 Compare November 19, 2023 15:33
Comment thread .github/dependabot.yml
@@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: cargo
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

can safely bump dependencies using dependabot since any change to the MSRV introduced by dependency updates will be caught in CI

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.

1 participant