Skip to content

Commit 2d6ced1

Browse files
committed
Added git diff check to CI. Updated AGENTS.md. Forced change in generated header to test CI diff check (it should fail).
1 parent c0eb690 commit 2d6ced1

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

.github/workflows/per-pr.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ jobs:
3434
- run: cargo doc --workspace --all-features --no-deps
3535
- run: cargo lint
3636
- run: cargo test-lint
37+
- run: cargo check
38+
- run: git diff --exit-code
3739

3840
test:
3941
name: Unit Tests

AGENTS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ document as your quick reference when submitting pull requests.
88
- `core/` – implementation of the core SDK
99
- `client/` – clients for communicating with Temporal clusters
1010
- `core-api/` – API definitions exposed by core
11+
- `core-c-bridge/` – C interface for core
1112
- `sdk/` – pre-alpha Rust SDK built on top of core (used mainly for tests)
1213
- `sdk-core-protos/` – protobuf definitions shared across crates
1314
- `fsm/` – state machine implementation and macros

core-c-bridge/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ fn main() {
88
let changed = cbindgen::Builder::new()
99
.with_cpp_compat(true)
1010
.with_crate(crate_dir)
11-
.with_pragma_once(true)
11+
.with_pragma_once(false)
1212
.with_language(cbindgen::Language::C)
1313
.with_item_prefix("TemporalCore")
1414
.generate()

0 commit comments

Comments
 (0)