Skip to content

Commit

Permalink
Check documentation via CI
Browse files Browse the repository at this point in the history
  • Loading branch information
orhun committed Aug 15, 2024
1 parent bbbe154 commit 7b81ffe
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Documentation

on:
push:
branches:
- master
- develop
pull_request:
branches:
- master
- develop

jobs:
link-checker:
name: Check links
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v4

- name: Check the links
uses: lycheeverse/lychee-action@v1
with:
args: --max-concurrency 1 -v *.md
fail: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

spelling-checker:
name: Check spelling
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v4

- name: Check spelling mistakes
uses: codespell-project/actions-codespell@master
with:
check_filenames: true
check_hidden: true
path: "*.md"

0 comments on commit 7b81ffe

Please sign in to comment.