|
6 | 6 | # usethis::use_github_action("check-standard") will install it. |
7 | 7 | on: |
8 | 8 | push: |
9 | | - branches: [main, master] |
| 9 | + branches: [main, master, 'html-validation-infra'] |
10 | 10 | paths-ignore: |
11 | 11 | - 'inst/examples/**' |
12 | 12 | - '_pkgdown.yml' |
@@ -43,29 +43,23 @@ jobs: |
43 | 43 | matrix: |
44 | 44 | config: |
45 | 45 | # testing R release with latest pandoc version and their dev version |
46 | | - - {os: windows-latest, pandoc: 'latest', r: 'release'} |
47 | | - - {os: macOS-latest, pandoc: 'latest', r: 'release'} |
48 | 46 | - {os: ubuntu-latest, pandoc: 'devel', r: 'release'} |
49 | | - # testing older pandoc versions |
50 | | - - {os: ubuntu-latest, pandoc: '3.1.11', r: 'release'} |
51 | | - - {os: ubuntu-latest, pandoc: '2.19.2', r: 'release'} |
52 | | - - {os: ubuntu-latest, pandoc: '2.18', r: 'release'} |
53 | | - - {os: ubuntu-latest, pandoc: '2.17.1.1', r: 'release'} |
54 | | - - {os: ubuntu-latest, pandoc: '2.16.2', r: 'release'} |
55 | | - # testing other R versions |
56 | | - - {os: ubuntu-latest, pandoc: '3.1.11', r: 'devel', http-user-agent: 'release'} |
57 | | - - {os: ubuntu-latest, pandoc: '3.1.11', r: 'oldrel-1'} |
58 | | - - {os: ubuntu-latest, pandoc: '3.1.11', r: 'oldrel-2'} |
59 | | - - {os: ubuntu-latest, pandoc: '3.1.11', r: 'oldrel-3'} |
60 | 47 |
|
61 | 48 | env: |
62 | 49 | GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} |
63 | 50 | R_KEEP_PKG_SOURCE: yes |
| 51 | + W3C_MARKUP_VALIDATOR_BASEURL: 'http://0.0.0.0:8888' |
64 | 52 |
|
65 | 53 | permissions: |
66 | 54 | actions: read |
67 | 55 |
|
68 | 56 | steps: |
| 57 | + - uses: addnab/docker-run-action@v3 |
| 58 | + with: |
| 59 | + registry: gcr.io |
| 60 | + image: validator/validator:latest |
| 61 | + options: -p 8888:8888 -d |
| 62 | + |
69 | 63 | - uses: actions/checkout@v4 |
70 | 64 |
|
71 | 65 | - uses: r-lib/actions/setup-r@v2 |
|
0 commit comments