Skip to content

Commit

Permalink
CI check-md-links fix (#2824)
Browse files Browse the repository at this point in the history
Use ubuntu-22.04 and restore the action instead of the script
  • Loading branch information
Marcondiro authored Jan 9, 2025
1 parent 1a9e251 commit ca647f0
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -209,21 +209,15 @@ jobs:
run: ./scripts/fmt_all.sh check

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:
- 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
shell: bash
run: ./scripts/check_md_links.sh
# TODO: Use github action once it's fixed (https://github.com/UmbrellaDocs/action-linkspector/issues/20)
# - name: Run linkspector
# uses: umbrelladocs/action-linkspector@v1
# with:
# fail_on_error: 'true'
# config_file: '.github/.linkspector.yml'
uses: umbrelladocs/action-linkspector@v1
with:
fail_on_error: 'true'
config_file: '.github/.linkspector.yml'

msrv:
runs-on: ubuntu-latest
Expand Down

0 comments on commit ca647f0

Please sign in to comment.