Skip to content

Commit 90fa46d

Browse files
committedAug 15, 2024··
add docs build to CI
1 parent 3687d98 commit 90fa46d

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
 

‎.github/workflows/ci.yml

+18
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,28 @@ jobs:
9999
command: "fmt"
100100
args: "--all -- --check"
101101

102+
docs:
103+
name: "Docs"
104+
runs-on: "ubuntu-latest"
105+
env:
106+
RUSTDOCFLAGS: "-D warnings"
107+
steps:
108+
- uses: "actions/checkout@v2"
109+
- uses: "actions-rs/toolchain@v1"
110+
with:
111+
profile: "minimal"
112+
toolchain: "stable"
113+
override: true
114+
- uses: "actions-rs/cargo@v1"
115+
with:
116+
command: "doc"
117+
args: "--no-deps"
118+
102119
Verify:
103120
name: "Verify"
104121
runs-on: "ubuntu-latest"
105122
needs:
123+
- "docs"
106124
- "fmt"
107125
- "test"
108126
- "lint"

0 commit comments

Comments
 (0)
Please sign in to comment.