Skip to content

Commit 2c1ae54

Browse files
committed
chore: update doc and ci
Signed-off-by: Chen Kai <281165273grape@gmail.com>
1 parent 15c4eee commit 2c1ae54

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
run: zig fmt . --check
2727

2828
- name: Run tests
29-
run: zig build test
29+
run: zig build test --summary all
3030

3131
- name: Run example
3232
run: zig build run-example

README.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# clock.zig
22

3-
A small beacon-style slot clock library in Zig.
3+
A beacon slot clock in Zig.
44

55
## Build and Run
66

@@ -26,10 +26,6 @@ zig build run-example
2626
4. Wait API:
2727
- `waitForSlot(target)` returns when `currentSlot() >= target`.
2828
- Abort wakes waiters and returns `error.Aborted`.
29-
5. Time model:
30-
- Public time inputs are milliseconds (`u64`).
31-
- `Slot` and `Epoch` are `u64`.
32-
- Time arithmetic reports `error.Overflow` on overflow.
3329

3430
## Testing
3531

0 commit comments

Comments
 (0)