From 15e9b28b75b858da29b565bf11e4f201c8bb6a4a Mon Sep 17 00:00:00 2001 From: Aaron Collier Date: Tue, 1 Mar 2022 15:20:07 +0100 Subject: [PATCH] :test_tube: Try directly --- .github/workflows/check-links.yaml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/check-links.yaml b/.github/workflows/check-links.yaml index 06501630fa..8e64814608 100644 --- a/.github/workflows/check-links.yaml +++ b/.github/workflows/check-links.yaml @@ -9,9 +9,16 @@ jobs: name: Check links runs-on: ubuntu-latest steps: + - uses: actions/setup-go@v2 + with: + stable: 'true' + + - name: Get muffet + env: + MUFFET_VERSION: "2.4.8" + run: wget --quiet -c "https://github.com/raviqqe/muffet/releases/download/v$MUFFET_VERSION/muffet_${MUFFET_VERSION}_Linux_x86_64.tar.gz" -O - | tar -xz - name: Check links - uses: ruzickap/action-my-broken-link-checker@v2 - with: - url: https://pr-2189-odiepqq-652soceglkw4u.eu-3.platformsh.site/ - cmd_params: '--buffer-size=8192 --rate-limit=1 --max-connections-per-host=10 --color=always --header="User-Agent:curl/7.54.0" --exclude=https://console.platform.sh/projects/create-project' + env: + URL: https://pr-2189-odiepqq-652soceglkw4u.eu-3.platformsh.site + run: ./muffet --buffer-size=8192 --rate-limit=1 --max-connections-per-host=10 --color=always --header="User-Agent:Mozilla/5.0 (Windows NT 10.0) Gecko/20100101 Firefox/91.0" --exclude=https://console.platform.sh/projects/create-project https://pr-2189-odiepqq-652soceglkw4u.eu-3.platformsh.site