From 44fefed589432fb5ecdca443467384be10caccab Mon Sep 17 00:00:00 2001 From: Rory Dudley Date: Sun, 30 Jun 2024 20:11:59 -0600 Subject: Docs job for Github workflows Add a job for Github workflows that tests building the documentation. --- .github/workflows/dwarvish.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to '.github/workflows') diff --git a/.github/workflows/dwarvish.yml b/.github/workflows/dwarvish.yml index 153b304..3991a06 100644 --- a/.github/workflows/dwarvish.yml +++ b/.github/workflows/dwarvish.yml @@ -1,6 +1,24 @@ on: [push, pull_request] name: Dwarvish Source Analysis jobs: + document: + name: Document + runs-on: ubuntu-latest + steps: + - name: Checkout source + uses: actions/checkout@v4 + + - name: Install Rust stable + uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: stable + override: true + + - name: Run cargo doc + uses: actions-rs/cargo@v1 + with: + command: doc verify: name: Verify runs-on: ubuntu-latest -- cgit v1.2.3