get.porter.sh/porter@v1.3.0/.github/workflows/check-docs-links.yml (about) 1 2 # # Test docs/ links are valid. 3 # # 4 # # htmltest https://github.com/wjdp/htmltest-action/ 5 # # hugo https://github.com/peaceiris/actions-hugo 6 # # upload test results https://github.com/actions/upload-artifact 7 8 # name: Check Website Links 9 # on: pull_request 10 11 # env: 12 # GOVERSION: 1.24.4 13 14 15 # jobs: 16 # htmltest: 17 # runs-on: ubuntu-latest 18 # concurrency: 19 # group: ${{ github.workflow }}-${{ github.ref }} 20 # steps: 21 # - name: Check out repository 22 # uses: actions/checkout@v4 23 # with: 24 # submodules: true # Fetch Hugo themes (true OR recursive) 25 # fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod 26 27 # - uses: actions/setup-go@v4 28 # with: 29 # go-version: "${{ env.GOVERSION }}" # The Go version to download (if necessary) and use. 30 # cache: true 31 32 # - name: Set up Hugo 33 34 # uses: peaceiris/actions-hugo@v2 35 # with: 36 # hugo-version: '0.117.0' 37 # extended: true 38 39 # - name: Build website 40 # run: go run mage.go -v Docs 41 42 # - name: Run htmltest 43 # uses: wjdp/htmltest-action@master 44 # with: 45 # path: docs/public 46 # config: docs/.htmltest.yml