Skip to content

Add -NoReset option to service registration functions (#4641) #3657

Add -NoReset option to service registration functions (#4641)

Add -NoReset option to service registration functions (#4641) #3657

name: validate-documentation
on:
push:
branches: [ main ]
paths:
- '.github/workflows/validate-documentation.yml'
- '**.md'
- '.lycheeignore'
pull_request:
branches: [ main ]
paths:
- '.github/workflows/validate-documentation.yml'
- '**.md'
- '.lycheeignore'
merge_group:
workflow_dispatch:
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # tag: v6.0.0
- name: Restore lychee cache
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # tag: v4.3.0
id: cache-restore
with:
path: .lycheecache
key: cache-lychee-${{ github.sha }}
restore-keys: cache-lychee-
- name: Run markdown links checks
if: ${{ !contains(github.event.pull_request.labels.*.name, 'release PR') }}
uses: lycheeverse/lychee-action@a8c4c7cb88f0c7386610c35eb25108e448569cb0 # tag: v2.7.0
with:
fail: true
args: "--cache --max-cache-age 1d --threads 1 --max-concurrency 1 --verbose --retry-wait-time 5 --max-retries 3 --timeout 60 --no-progress './**/*.md' './**/*.html'"
- name: Run markdownlint
uses: streetsidesoftware/cspell-action@3294df585d3d639e30f3bc019cb11940b9866e95 # tag: v8.0.0
with:
files: '**/*.md'
- name: Run cspell
uses: DavidAnson/markdownlint-cli2-action@30a0e04f1870d58f8d717450cc6134995f993c63 # tag: v21.0.0
- name: Save lychee cache
if: always()
uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # tag: v4.3.0
with:
path: .lycheecache
key: ${{ steps.cache-restore.outputs.cache-primary-key }}