Skip to content

Commit 66e9bde

Browse files
senamakelmedullabot
andcommitted
chore(ci): add workflow for continuous integration
Add a GitHub Actions workflow to run tests and linting on push and pull request events, ensuring code quality checks are automated in the CI pipeline. Auto-committed-on: dragonfly Co-authored-by: Medulla <medulla@tinyhumans.ai>
1 parent f44f2c2 commit 66e9bde

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,13 @@ jobs:
8080
cargo clippy --manifest-path crates/tinymemory-module/Cargo.toml
8181
--all-targets -- -D warnings
8282
83+
# `--locked`, matching how the release builds this crate. Without it, a
84+
# stale `crates/tinymemory-module/Cargo.lock` — which is a *separate*
85+
# lockfile from the root's, and easy to forget when the root version moves
86+
# — passes here and then fails all eleven release bundle jobs, after the
87+
# tag has already been pushed. That happened once; this is the guard.
8388
- name: Build the cdylib
84-
run: cargo build --manifest-path crates/tinymemory-module/Cargo.toml --release
89+
run: cargo build --locked --manifest-path crates/tinymemory-module/Cargo.toml --release
8590

8691
- name: Unit tests
8792
run: cargo test --manifest-path crates/tinymemory-module/Cargo.toml --lib

0 commit comments

Comments
 (0)