Skip to content

Add smarter defaults for linkcheck. #181

Add smarter defaults for linkcheck.

Add smarter defaults for linkcheck. #181

# This workflow tests the starter pack.
# Don't run this workflow on any repos that use the starter pack.
name: Test starter pack
on:
- pull_request
- push
jobs:
test-docs:
name: Test on docs folder
runs-on: ubuntu-latest
steps:
- name: Check out repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Build docs
run: make -C docs html
- name: Run inclusive language check
if: success() || failure()
run: make -C docs woke CONFIRM_SUDO=y
- name: Run link check
if: success() || failure()
run: make -C docs linkcheck
- name: Run spelling check
if: success() || failure()
run: make -C docs spelling CONFIRM_SUDO=y
- name: Run styleguide check (allowed to fail)
continue-on-error: true
run: make -C docs vale
- name: Run accessibility check (allowed to fail)
if: success() || failure()
continue-on-error: true
run: make -C docs pa11y
- name: Clean up
if: success() || failure()
run: make -C docs clean