diff --git a/.github/workflows/check_markup_links.yml b/.github/workflows/check_markup_links.yml index 66b04876f6..29ae1cf01f 100644 --- a/.github/workflows/check_markup_links.yml +++ b/.github/workflows/check_markup_links.yml @@ -9,11 +9,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: tcort/github-action-markdown-link-check@v1 - with: - folder-path: 'docs' - file-path: README.md - check-modified-files-only: yes - base-branch: main - use-quiet-mode: yes - use-verbose-mode: yes + - name: Install lychee + run: | + bash .github/workflows/scripts_new/check_markup_links_1_install.sh + - name: Run lychee + run: | + bash .github/workflows/scripts_new/check_markup_links_2_run.sh diff --git a/.github/workflows/scripts_new/check_markup_links_1_install.sh b/.github/workflows/scripts_new/check_markup_links_1_install.sh new file mode 100644 index 0000000000..2376d941d2 --- /dev/null +++ b/.github/workflows/scripts_new/check_markup_links_1_install.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +set -ex + +curl -sSf 'https://sh.rustup.rs' | sh +sudo apt-get install -y gcc pkg-config libc6-dev libssl-dev diff --git a/.github/workflows/scripts_new/check_markup_links_2_run.sh b/.github/workflows/scripts_new/check_markup_links_2_run.sh new file mode 100644 index 0000000000..fde50fca9d --- /dev/null +++ b/.github/workflows/scripts_new/check_markup_links_2_run.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +set -ex + +lychee --offline docs/** -v