Skip to content

Commit

Permalink
ci: resolve near-cli-rs#34
Browse files Browse the repository at this point in the history
  • Loading branch information
dj8yf0μl committed Jan 9, 2025
1 parent b831cbc commit 1344f02
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,23 @@ jobs:
profile: minimal
- name: Tests
run: cargo test --workspace
# there're sometimes warnings, which signal, that the generated doc
# won't look as expected, when rendered, and sometimes errors, which will prevent doc from being
# generated at release time altogether.
cargo-doc:
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v4
- name: Install Toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
default: true
- name: run cargo doc
env:
RUSTDOCFLAGS: -D warnings
run: |
cargo doc -p interactive-clap
cargo doc -p interactive-clap-derive --document-private-items

0 comments on commit 1344f02

Please sign in to comment.