From 566ba127b7626aee0203ca62a3c9bcc586163317 Mon Sep 17 00:00:00 2001 From: Scott Finneran Date: Sun, 2 Apr 2023 13:22:01 +1000 Subject: [PATCH 1/6] First pass at triggering link check --- .github/workflows/link-checker.yml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .github/workflows/link-checker.yml diff --git a/.github/workflows/link-checker.yml b/.github/workflows/link-checker.yml new file mode 100644 index 00000000..2d19e931 --- /dev/null +++ b/.github/workflows/link-checker.yml @@ -0,0 +1,8 @@ +--- +name: Link Checker +on: [push, pull_request] + +jobs: + check: + name: Check links with linkcheck + uses: filiph/linkcheck@2.0.23 From 44b982389544377e4458bac87b3faa05abc3a4ea Mon Sep 17 00:00:00 2001 From: Scott Finneran Date: Sun, 2 Apr 2023 13:26:27 +1000 Subject: [PATCH 2/6] Trigger link check from qa.yml --- .github/workflows/qa.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/qa.yml b/.github/workflows/qa.yml index 280fd77c..20ac92e8 100644 --- a/.github/workflows/qa.yml +++ b/.github/workflows/qa.yml @@ -150,3 +150,6 @@ jobs: - name: Web Site working-directory: build run: ninja man-html web-site + + - name: Link check + uses: filiph/linkcheck@2.0.23 From a43dd29a4166035a3a8a1b76f095fc7d6fa34316 Mon Sep 17 00:00:00 2001 From: Scott Finneran Date: Sun, 2 Apr 2023 13:27:44 +1000 Subject: [PATCH 3/6] delete linkcheck.yml --- .github/workflows/link-checker.yml | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 .github/workflows/link-checker.yml diff --git a/.github/workflows/link-checker.yml b/.github/workflows/link-checker.yml deleted file mode 100644 index 2d19e931..00000000 --- a/.github/workflows/link-checker.yml +++ /dev/null @@ -1,8 +0,0 @@ ---- -name: Link Checker -on: [push, pull_request] - -jobs: - check: - name: Check links with linkcheck - uses: filiph/linkcheck@2.0.23 From 78cc2f80fe99d08be022000718448be2bd20315c Mon Sep 17 00:00:00 2001 From: Scott Finneran Date: Sun, 2 Apr 2023 13:36:03 +1000 Subject: [PATCH 4/6] add test link for main website --- .github/workflows/qa.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/qa.yml b/.github/workflows/qa.yml index 20ac92e8..90717efe 100644 --- a/.github/workflows/qa.yml +++ b/.github/workflows/qa.yml @@ -153,3 +153,5 @@ jobs: - name: Link check uses: filiph/linkcheck@2.0.23 + with: + arguments: https://srecord.sourceforge.net/ From 3128ad0e38017c88e94178b247b91afdba601c7d Mon Sep 17 00:00:00 2001 From: Scott Finneran Date: Sun, 2 Apr 2023 13:50:00 +1000 Subject: [PATCH 5/6] tweak url args --- .github/workflows/qa.yml | 16 +++++++++++++--- cspell.config.yaml | 1 + 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/.github/workflows/qa.yml b/.github/workflows/qa.yml index 90717efe..118998b4 100644 --- a/.github/workflows/qa.yml +++ b/.github/workflows/qa.yml @@ -151,7 +151,17 @@ jobs: working-directory: build run: ninja man-html web-site - - name: Link check - uses: filiph/linkcheck@2.0.23 + - name: Link check + # disable action until https://github.com/tylerbutler/linkcheck-bin/issues/1 is released + uses: filiph/linkcheck@2.0.23 with: - arguments: https://srecord.sourceforge.net/ + arguments: 'https://srecord.sourceforge.net/' + + #with: + # arguments: '-i sitemap.prod.txt' +# run: | +# curl -sL https://github.com/filiph/linkcheck/releases/download/2.0.20/linkcheck-2.0.20-linux-x64.tar.gz | tar xvzf - linkcheck/linkcheck --strip 1 + # Check links from production sitemap to ensure no publish links are broken +# ./linkcheck -i sitemap.prod.txt + # Check links from other products to ensure no links are broken +# ./linkcheck -i product-links.prod.txt diff --git a/cspell.config.yaml b/cspell.config.yaml index 39e54134..65517ff4 100644 --- a/cspell.config.yaml +++ b/cspell.config.yaml @@ -176,6 +176,7 @@ words: - FFFFFFFFFFFE - FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEC - FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC + - filiph - flavor - gcry - getc From f919eb8c2d13f0c55e0f13e7fd22648dcb591ed3 Mon Sep 17 00:00:00 2001 From: Scott Finneran Date: Sun, 2 Apr 2023 13:55:51 +1000 Subject: [PATCH 6/6] tweak url args --- .github/workflows/qa.yml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/.github/workflows/qa.yml b/.github/workflows/qa.yml index 118998b4..823347ad 100644 --- a/.github/workflows/qa.yml +++ b/.github/workflows/qa.yml @@ -155,13 +155,4 @@ jobs: # disable action until https://github.com/tylerbutler/linkcheck-bin/issues/1 is released uses: filiph/linkcheck@2.0.23 with: - arguments: 'https://srecord.sourceforge.net/' - - #with: - # arguments: '-i sitemap.prod.txt' -# run: | -# curl -sL https://github.com/filiph/linkcheck/releases/download/2.0.20/linkcheck-2.0.20-linux-x64.tar.gz | tar xvzf - linkcheck/linkcheck --strip 1 - # Check links from production sitemap to ensure no publish links are broken -# ./linkcheck -i sitemap.prod.txt - # Check links from other products to ensure no links are broken -# ./linkcheck -i product-links.prod.txt + arguments: 'https://srecord.sourceforge.notgonawork/'