CI check-md-links fix (#2824)

Use ubuntu-22.04 and restore the action instead of the script
This commit is contained in:
Marco C. 2025-01-09 12:04:01 +01:00 committed by GitHub
parent 1a9e25145d
commit ca647f0c30
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -209,21 +209,15 @@ jobs:
run: ./scripts/fmt_all.sh check run: ./scripts/fmt_all.sh check
check-md-links: check-md-links:
runs-on: ubuntu-latest # fixme: use ubuntu-latest once this gets fixed https://github.com/UmbrellaDocs/action-linkspector/issues/32
runs-on: ubuntu-22.04
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Install linkspector
shell: bash
run: sudo apt-get update && sudo apt-get install -y npm && npm install -g @umbrelladocs/linkspector
- name: Run linkspector - name: Run linkspector
shell: bash uses: umbrelladocs/action-linkspector@v1
run: ./scripts/check_md_links.sh with:
# TODO: Use github action once it's fixed (https://github.com/UmbrellaDocs/action-linkspector/issues/20) fail_on_error: 'true'
# - name: Run linkspector config_file: '.github/.linkspector.yml'
# uses: umbrelladocs/action-linkspector@v1
# with:
# fail_on_error: 'true'
# config_file: '.github/.linkspector.yml'
msrv: msrv:
runs-on: ubuntu-latest runs-on: ubuntu-latest