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