Skip to content

Commit db5fc08

Browse files
committed
Use tidy to validate HTML
1 parent dd5711c commit db5fc08

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,9 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@v2
12-
- uses: actions/setup-python@v1
13-
with:
14-
python-version: "3.7"
15-
- name: Install dependencies
12+
- name: Install tidy 5.8.0
1613
run: |
17-
sudo apt-get update -qq
18-
sudo apt-get install -yy default-jre-headless
19-
pip install html5validator
14+
curl -sSL -o /usr/local/bin/tidy 'https://gitlab.com/remram44/taguette/-/snippets/2150886/raw/main/tidy-5.8.0?inline=false'
15+
chmod +x /usr/local/bin/tidy
2016
- name: Validate HTML
21-
run: html5validator --show-warnings
17+
run: tidy -errors -quiet --drop-empty-elements no regex.html

0 commit comments

Comments
 (0)