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 98
98
- run : rustup component add clippy
99
99
- run : cargo clippy --workspace --all-targets --no-deps -- -D warnings
100
100
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
+
101
113
# The success job is here to consolidate the total success/failure state of
102
114
# all other jobs. This job is then included in the GitHub branch protection
103
115
# rule which prevents merges unless all other jobs are passing. This makes
@@ -112,6 +124,7 @@ jobs:
112
124
- aarch64-cross-builds
113
125
- gui
114
126
- clippy
127
+ - docs
115
128
runs-on : ubuntu-latest
116
129
steps :
117
130
- run : jq --exit-status 'all(.result == "success")' <<< '${{ toJson(needs) }}'
You can’t perform that action at this time.
0 commit comments