File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change 9898 - run : rustup component add clippy
9999 - run : cargo clippy --workspace --all-targets --no-deps -- -D warnings
100100
101+ docs :
102+ name : Check API docs
103+ runs-on : ubuntu-latest
104+ steps :
105+ - uses : actions/checkout@v4
106+ - name : Install Rust
107+ run : bash ci/install-rust.sh stable x86_64-unknown-linux-gnu
108+ - name : Ensure intradoc links are valid
109+ run : cargo doc --workspace --document-private-items --no-deps
110+ env :
111+ RUSTDOCFLAGS : -D warnings
112+
101113 # The success job is here to consolidate the total success/failure state of
102114 # all other jobs. This job is then included in the GitHub branch protection
103115 # rule which prevents merges unless all other jobs are passing. This makes
@@ -112,6 +124,7 @@ jobs:
112124 - aarch64-cross-builds
113125 - gui
114126 - clippy
127+ - docs
115128 runs-on : ubuntu-latest
116129 steps :
117130 - run : jq --exit-status 'all(.result == "success")' <<< '${{ toJson(needs) }}'
You can’t perform that action at this time.
0 commit comments