Skip to content

add ci#93

Open
emilyalbini wants to merge 2 commits intoea-clippyfrom
ea-ci
Open

add ci#93
emilyalbini wants to merge 2 commits intoea-clippyfrom
ea-ci

Conversation

@emilyalbini
Copy link
Copy Markdown
Member

This PR adds a basic CI to buildomat, checking formatting, clippy, and running tests. In the future we'll probably want to extend it to also build the production binaries we run on the buildomat server, but that's a task for another time.

The bunch of the changes are fixes for Clippy. I ran a cargo clippy --fix --tests to address most of them, and configured a global list of lints we allow in the workspace Cargo.toml (rather than adding #![allow()] in every crate).

@emilyalbini emilyalbini requested a review from jclulow April 13, 2026 14:05
@emilyalbini emilyalbini force-pushed the ea-ci branch 7 times, most recently from d157525 to 1995a55 Compare April 13, 2026 19:24
Copy link
Copy Markdown
Collaborator

@jclulow jclulow left a comment

Choose a reason for hiding this comment

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

The bunch of the changes are fixes for Clippy. I ran a cargo clippy --fix --tests to address most of them, and configured a global list of lints we allow in the workspace Cargo.toml (rather than adding #![allow()] in every crate).

The global lint list thing is neat! Can we do the clippy changes in a separate PR (first) and then do the CI stuff (which also looks broadly fine to start!) as a separate, smaller change after that?

set -o xtrace

banner clippy
cargo clippy --tests --workspace -- -Dwarnings
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Should we be passing the --frozen flag to all these commands as well?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Added --locked, good call! --frozen also requires all crates to be downloaded first.

@emilyalbini emilyalbini changed the base branch from main to ea-cache April 14, 2026 08:15
@emilyalbini emilyalbini changed the base branch from ea-cache to ea-clippy April 14, 2026 08:15
@emilyalbini
Copy link
Copy Markdown
Member Author

emilyalbini commented Apr 14, 2026

The global lint list thing is neat!

Yes! I'm so happy Cargo is slowly adding more workspace-wide configuration options!

I split the clippy changes in #96.

@emilyalbini emilyalbini changed the title Add CI add ci Apr 14, 2026
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