Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Rust documentation check to GitHub Actions #937

Merged
merged 6 commits into from Jul 11, 2022
Merged
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
20 changes: 18 additions & 2 deletions .github/workflows/test-docs-build.yml
Expand Up @@ -12,7 +12,7 @@ on:
- epic/*
- support/*

concurrency:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

Expand All @@ -21,8 +21,24 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Test Build

- name: Test Wiki Build
# TODO Add 'yarn build' as last line once broken links are fixed
run: |
cd documentation
yarn install --immutable

- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true

- name: Test Rust Documentation
uses: actions-rs/cargo@v1
env:
RUSTDOCFLAGS: "-D warnings --cfg docsrs"
with:
command: doc
toolchain: nightly
args: --all-features --no-deps --workspace