# GitHub Actions workflow to validate project wiki on PRs
# Copy this to .github/workflows/wiki-validate.yml in your project

name: Wiki Validation

on:
  pull_request:
    paths:
      - '.wiki/**'

jobs:
  validate:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4

      - name: Install codefidence
        run: cargo install codefidence

      - name: Validate wiki
        run: codefidence validate

      - name: Check wiki status
        run: codefidence status
