diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 44555e4..37564d3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,13 +9,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: actions/setup-python@v1 - with: - python-version: "3.7" - - name: Install dependencies + - name: Install tidy 5.8.0 run: | - sudo apt-get update -qq - sudo apt-get install -yy default-jre-headless - pip install html5validator + curl -sSL -o /tmp/tidy.zip https://github.com/remram44/regex-cheatsheet/files/6848619/tidy-5.8.0.zip + unzip -p /tmp/tidy.zip tidy-5.8.0 >/usr/local/bin/tidy + chmod +x /usr/local/bin/tidy - name: Validate HTML - run: html5validator --show-warnings + run: tidy -errors -quiet --drop-empty-elements no regex.html