Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions .github/workflows/mdoc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Validate Site Docs

on:
pull_request:
branches: [main]
paths:
- 'site/**'

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

jobs:
mdoc:
name: Run mdoc
runs-on: ubuntu-22.04
timeout-minutes: 60
steps:
- name: Checkout current branch (full)
uses: actions/checkout@v6
with:
fetch-depth: 0

- name: Setup sbt
uses: sbt/setup-sbt@v1

- name: Setup Java (corretto@17)
uses: actions/setup-java@v5
with:
distribution: corretto
java-version: 17
cache: sbt

- name: Run mdoc
run: sbt site/mdoc