Skip to content

Commit bf87c81

Browse files
committed
PHP 8.2
1 parent 8d3b877 commit bf87c81

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

Diff for: .github/workflows/tests.yml

+5-8
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,18 @@ jobs:
88
strategy:
99
fail-fast: true
1010
matrix:
11-
php: [8.1, 8.0, 7.4]
11+
php: [8.2, 8.1, 8.0, 7.4]
1212
dependency-version: [prefer-stable]
1313
os: [ubuntu-latest]
1414

1515
name: ${{ matrix.os }} - PHP${{ matrix.php }} - ${{ matrix.dependency-version }}
1616

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

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

3434
- name: Setup Java
35-
uses: actions/setup-java@v2
35+
uses: actions/setup-java@v3
3636
with:
3737
distribution: 'temurin'
3838
java-version: '11'
3939

4040
- name: Download vnu checker
41-
run: wget https://github.com/validator/validator/releases/download/20.6.30/vnu.jar_20.6.30.zip
42-
43-
- name: Unzip jar file
44-
run: unzip vnu.jar_20.6.30.zip
41+
run: wget https://github.com/validator/validator/releases/download/latest/vnu.jar
4542

4643
- name: Run Nu Html Checker (v.Nu)
4744
run: java -cp ./dist/vnu.jar -Xss1024k -Dnu.validator.servlet.bind-address=127.0.0.1 nu.validator.servlet.Main 8888 &

Diff for: composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
}
1313
],
1414
"require": {
15-
"php": ">=7.4 <8.2",
15+
"php": ">=7.4 <8.3",
1616
"rexxars/html-validator": ">=2.2"
1717
},
1818
"config": {

0 commit comments

Comments
 (0)