|
1 | 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.23.3 |
13 |
| - |
14 |
| -jobs: |
15 |
| - htmltest: |
16 |
| - runs-on: ubuntu-latest |
17 |
| - concurrency: |
18 |
| - group: ${{ github.workflow }}-${{ github.ref }} |
19 |
| - steps: |
20 |
| - - name: Check out repository |
21 |
| - uses: actions/checkout@v4 |
22 |
| - with: |
23 |
| - submodules: true # Fetch Hugo themes (true OR recursive) |
24 |
| - fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod |
25 |
| - |
26 |
| - - uses: actions/setup-go@v4 |
27 |
| - with: |
28 |
| - go-version: "${{ env.GOVERSION }}" # The Go version to download (if necessary) and use. |
29 |
| - cache: true |
| 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.23.3 |
| 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 |
30 | 31 |
|
31 |
| - - name: Set up Hugo |
32 |
| - uses: peaceiris/actions-hugo@v2 |
33 |
| - with: |
34 |
| - hugo-version: '0.117.0' |
35 |
| - extended: true |
36 |
| - |
37 |
| - - name: Build website |
38 |
| - run: go run mage.go -v Docs |
39 |
| - |
40 |
| - - name: Run htmltest |
41 |
| - uses: wjdp/htmltest-action@master |
42 |
| - with: |
43 |
| - path: docs/public |
44 |
| - config: docs/.htmltest.yml |
| 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 |
0 commit comments