Skip to content

Commit e22dfbd

Browse files
committed
add workflow for docs
1 parent ed0bbaa commit e22dfbd

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

.github/workflows/rust.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,14 @@ jobs:
3131
- name: Build
3232
run: cargo build --verbose --features serde
3333
- name: Run tests
34-
run: cargo test --verbose --features serde
34+
run: cargo test --verbose --features serde
35+
36+
docs:
37+
runs-on: ubuntu-latest
38+
env:
39+
RUSTFLAGS: -C target-cpu=x86-64
40+
RUSTDOCFLAGS: -C target-cpu=x86-64
41+
steps:
42+
- uses: actions/checkout@v4
43+
- name: Docs
44+
run: cargo doc --verbose --all-features

0 commit comments

Comments
 (0)