From 5128ac450f8a00213c7e314a4af783a606d7f042 Mon Sep 17 00:00:00 2001 From: Hugh Perkins Date: Tue, 3 Jun 2025 14:08:10 -0700 Subject: [PATCH] upgrade to lychee --- .github/workflows/check_markup_links.yml | 14 ++++++-------- .../scripts_new/check_markup_links_1_install.sh | 6 ++++++ .../scripts_new/check_markup_links_2_run.sh | 5 +++++ 3 files changed, 17 insertions(+), 8 deletions(-) create mode 100644 .github/workflows/scripts_new/check_markup_links_1_install.sh create mode 100644 .github/workflows/scripts_new/check_markup_links_2_run.sh 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