Skip to content

Commit bd7ba12

Browse files
author
dj8yf0μl
committed
ci: add cargo check --examples cmd and intentional syntax err
1 parent df33d8f commit bd7ba12

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/rust.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,9 @@ jobs:
8282
steps:
8383
- uses: actions/checkout@v4
8484
- name: run cargo doc
85-
run: RUSTDOCFLAGS="-D warnings" cargo doc --features derive,unstable__schema
85+
run: |
86+
RUSTDOCFLAGS="-D warnings" cargo doc --features derive,unstable__schema
87+
cargo check --examples
8688
8789
release-plz:
8890
runs-on: ubuntu-latest

borsh/examples/serde_json_value.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use std::collections::HashMap;
22

33
use borsh::{BorshDeserialize, BorshSerialize};
44

5-
mod serde_json_value {
5+
od serde_json_value {
66
pub use de::deserialize_value;
77
pub use ser::serialize_value;
88
mod ser {

0 commit comments

Comments
 (0)