Skip to content

Commit 447fa35

Browse files
committed
Update to latest HTML Validator
1 parent 40827d1 commit 447fa35

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

.github/workflows/tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616

1717
steps:
1818
- name: Checkout code
19-
uses: actions/checkout@v4
19+
uses: actions/checkout@v6
2020

2121
- name: Cache dependencies
22-
uses: actions/cache@v4
22+
uses: actions/cache@v5
2323
with:
2424
path: ~/.composer/cache/files
2525
key: dependencies-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }}
@@ -32,7 +32,7 @@ jobs:
3232
coverage: none
3333

3434
- name: Setup Java
35-
uses: actions/setup-java@v4
35+
uses: actions/setup-java@v5
3636
with:
3737
distribution: 'temurin'
3838
java-version: '11'
@@ -41,7 +41,7 @@ jobs:
4141
run: wget https://github.com/validator/validator/releases/download/latest/vnu.jar
4242

4343
- name: Run Nu Html Checker (v.Nu)
44-
run: java -cp vnu.jar -Xss1024k -Dnu.validator.servlet.bind-address=127.0.0.1 nu.validator.servlet.Main 8888 &
44+
run: java -cp vnu.jar -Xss2048k -Dnu.validator.servlet.bind-address=127.0.0.1 nu.validator.servlet.Main 8888 &
4545

4646
- name: Install dependencies
4747
run: |

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,17 @@ java -Xss1024k -Dnu.validator.servlet.bind-address=127.0.0.1 -cp .\vnu.jar nu.va
1717
To run unit tests with GitHub Actions, add the following lines to you workflows test yml file:
1818
```
1919
- name: Setup Java
20-
uses: actions/setup-java@v3
20+
uses: actions/setup-java@v5
2121
with:
2222
distribution: 'temurin'
2323
java-version: '11'
2424
2525
- name: Download vnu checker
2626
run: wget https://github.com/validator/validator/releases/download/latest/vnu.jar
2727
28+
- name: Run Nu Html Checker (v.Nu)
29+
run: java -cp vnu.jar -Xss2048k -Dnu.validator.servlet.bind-address=127.0.0.1 nu.validator.servlet.Main 8888 &
30+
2831
- name: Run Nu Html Checker (v.Nu)
2932
run: java -cp vnu.jar -Xss1024k -Dnu.validator.servlet.bind-address=127.0.0.1 nu.validator.servlet.Main 8888 &
3033
```

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"rexxars/html-validator": ">=2.2"
1717
},
1818
"require-dev": {
19-
"phpunit/phpunit": "<=12.0",
19+
"phpunit/phpunit": "<14",
2020
"phpfui/phpunit-syntax-coverage": ">=1.0",
2121
"roave/security-advisories": "dev-latest",
2222
"friendsofphp/php-cs-fixer": "*",

0 commit comments

Comments
 (0)