Skip to content

Starting cg #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Mar 18, 2025
Merged

Starting cg #4

merged 5 commits into from
Mar 18, 2025

Conversation

pchampin
Copy link
Collaborator

  • unmarking the charter as "draft"
  • implementing the CODEOWNERS file specified in the charter
  • turning the repo into a Cargo workspace

Since workspaces must contain at least one package, this PR includes a dummy package which will be removed as soon as we have a real one in place.

@pchampin pchampin requested a review from Tpt March 17, 2025 16:08
Copy link
Collaborator

@Tpt Tpt left a comment

Choose a reason for hiding this comment

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

Thank you! I allowed myself some bikesheeding, if you disagree don't bother to reply, it's bikesheeding.

name: fmt
runs-on: ubuntu-latest
steps:
- uses: dtolnay/rust-toolchain@stable
Copy link
Collaborator

Choose a reason for hiding this comment

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

Cargo version is upgraded very quickly in Github images, not sure we need to bother with this

Having smart cargo cache with something like Swatinem/rust-cache might be more interesting

with:
submodules: true
- run: cargo build --all-features
- run: cargo test --verbose --all --all-features
Copy link
Collaborator

Choose a reason for hiding this comment

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

It might be nice to run tests and clippy without features to check that the feature gate are correct

resolver = "3"

[workspace.package]
version = "0.1.0"
Copy link
Collaborator

Choose a reason for hiding this comment

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

A discussion to have at some point: do we use the same version number for all crates or a version per crate?

dummy = { version = "0.1.0", path = "dummy" }

[workspace.lints.clippy]
enum_glob_use = "allow"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Isn't this lint allow by default?

@pchampin pchampin merged commit b498530 into main Mar 18, 2025
9 checks passed
@pchampin pchampin deleted the starting-cg branch March 19, 2025 08:10
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