Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/workflows/rust.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,15 @@ jobs:
run: >-
cargo --locked clippy --workspace --no-default-features
--features "${{ matrix.backend }}" -- -D warnings

doc_build:
runs-on: ubuntu-latest
env:
RUSTDOCFLAGS: -D warnings
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
- name: Check documentation build
run: cargo --locked doc --workspace
2 changes: 1 addition & 1 deletion firmware-controller/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ authors = [
]
license = "MIT"
repository = "https://github.com/layerx-world/firmware-controller/"
readme = "../README.md"
readme = "README.md"

[features]
default = ["embassy"]
Expand Down
1 change: 1 addition & 0 deletions firmware-controller/README.md
2 changes: 1 addition & 1 deletion firmware-controller/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![doc = include_str!("../../README.md")]
#![doc = include_str!("../README.md")]

#[cfg(not(any(feature = "embassy", feature = "tokio")))]
compile_error!("Either the `embassy` or `tokio` feature must be enabled");
Expand Down
Loading