@@ -23,13 +23,13 @@ jobs:
2323 with :
2424 distribution : temurin
2525 # https://github.com/orgs/adoptium/repositories?q=temurin*-binaries
26- java-version : 24
26+ java-version : 26
2727 java-package : jre
2828 check-latest : true
2929 - name : Download Nu Html Checker
3030 run : curl -sSfLO 'https://github.com/validator/validator/releases/download/latest/vnu.jar'
3131 - name : Run Nu Html Checker to check HTML, CSS and SVG files
32- run : find . -type f \( -name '*.html' -o -name '*.css' -o -name '*.svg' \) - exec java -jar vnu.jar --verbose --also-check-css --also-check-svg --filterpattern '.*skipping . heading level.*|.* bad value .#git. for attribute .rel.*' {} +
32+ run : find . -type f \( -name '*.html' -o -name '*.css' -o -name '*.svg' \) ! -name 'bootstrap.min.css' - exec java -jar vnu.jar --verbose --also-check-css --also-check-svg --filterpattern '.*( skipping . heading level| bad value .#git. for attribute .rel) .*' {} +
3333 - name : Check for obsolete image files
3434 if : always() && steps.deploy.outcome == 'success'
3535 run : |
@@ -43,22 +43,22 @@ jobs:
4343 with :
4444 python-version : 3.x
4545 check-latest : true
46- - name : Install PySpelling
47- id : pyspelling
46+ pip-install : pyspelling
47+ - name : Install Aspell for PySpelling
48+ id : aspell
4849 if : always() && steps.python.outcome == 'success'
4950 run : |
50- { pip3 install -U pip setuptools wheel; pip3 install -U pyspelling; } &
5151 sudo apt-get -q update
5252 sudo apt-get -qq --no-install-recommends install aspell-en
5353 - name : Run PySpelling to check HTML files
54- if : always() && steps.pyspelling .outcome == 'success'
54+ if : always() && steps.aspell .outcome == 'success'
5555 run : pyspelling -vc .spellcheck.yml
5656 - name : Download lychee
5757 id : lychee
5858 if : always() && steps.deploy.outcome == 'success'
5959 run : |
60- curl -sSfLo lychee.tar.gz "$(curl -sSfH 'Authorization: Bearer ${{ github.token }}' 'https://api.github.com/repos/lycheeverse/lychee/releases/latest' | mawk -F\" '/^ * "browser_download_url": ".* x86_64-unknown-linux-gnu\.tar\.gz"$/{print $4;exit} ')"
61- tar xf lychee.tar.gz lychee
60+ curl -sSfLo lychee.tar.gz "$(curl -sSfH 'Authorization: Bearer ${{ github.token }}' 'https://api.github.com/repos/lycheeverse/lychee/releases/latest' | grep -Po ' "browser_download_url": *"\K[^"]*/lychee- x86_64-unknown-linux-gnu\.tar\.gz(?=") ')"
61+ tar xf lychee.tar.gz --strip-components=1 lychee-x86_64-unknown-linux-gnu/ lychee
6262 - name : Run lychee to check Markdown and HTML files
6363 if : always() && steps.lychee.outcome == 'success'
6464 # x.com/DietPi_|www.patreon.com/DietPi: Network error: Forbidden
0 commit comments