Skip to content

Add VantisOS v1.5.0 Bootable ISO Build #263

Add VantisOS v1.5.0 Bootable ISO Build

Add VantisOS v1.5.0 Bootable ISO Build #263

Workflow file for this run

name: Documentation Linting
on:
push:
branches: [ master, 0.4.1 ]
paths:
- 'docs/**'
- '**.md'
- '**.adoc'
pull_request:
branches: [ master, 0.4.1 ]
paths:
- 'docs/**'
- '**.md'
- '**.adoc'
jobs:
vale-lint:
name: Lint Documentation with Vale
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install Vale
run: |
curl -sSL -o vale_2.30.1_Linux_64-bit.tar.gz https://github.com/errata-ai/vale/releases/download/v2.30.1/vale_2.30.1_Linux_64-bit.tar.gz
tar -xzf vale_2.30.1_Linux_64-bit.tar.gz
sudo mv vale /usr/local/bin/
vale --version
- name: Run Vale Linter
run: |
vale docs/ --minAlertLevel=error
continue-on-error: false
- name: Generate Vale Report
if: always()
run: |
vale docs/ --output=JSON > vale-report.json || true
echo "Vale linting complete"
- name: Upload Vale Report
if: always()
uses: actions/upload-artifact@v4
with:
name: vale-report
path: vale-report.json
retention-days: 30
markdown-lint:
name: Lint Markdown Files
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install markdownlint
run: |
npm install -g markdownlint-cli
- name: Run markdownlint
run: |
markdownlint '**/*.md' --ignore node_modules/
continue-on-error: false
asciidoc-validate:
name: Validate AsciiDoc Files
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Asciidoctor
run: |
gem install asciidoctor
- name: Validate AsciiDoc Syntax
run: |
find docs/ascii-doc -name "*.adoc" -exec asciidoctor -D /tmp/ {} \;
continue-on-error: false
check-links:
name: Check Documentation Links
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install link checker
run: |
npm install -g markdown-link-check
- name: Check Links in Markdown
run: |
find docs/ -name "*.md" -exec markdown-link-check {} \;
continue-on-error: true
spell-check:
name: Spell Check Documentation
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install spell checker
run: |
npm install -g cspell
- name: Run Spell Check
run: |
cspell "docs/**/*.md" --config .cspell.json
continue-on-error: true