summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRory Dudley2024-06-30 20:11:59 -0600
committerRory Dudley2024-06-30 20:11:59 -0600
commit44fefed589432fb5ecdca443467384be10caccab (patch)
tree9503d2f81318d7470eb8cb494bce8e9739eff8b1
parentb8338719e2cc2138bc67c10ad56fb707f5e3b546 (diff)
downloaddwarvish-44fefed589432fb5ecdca443467384be10caccab.tar.gz
Docs job for Github workflowsanthology
Add a job for Github workflows that tests building the documentation.
-rw-r--r--.github/workflows/dwarvish.yml18
1 files changed, 18 insertions, 0 deletions
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