Skip to content

Commit 0de5251

Browse files
committed
test php8
1 parent 8682b2b commit 0de5251

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/test-ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
fail-fast: false
1212
max-parallel: 1
1313
matrix:
14-
php-versions: ['8.0.0']
14+
php-versions: ['8.0']
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: Checkout
@@ -23,18 +23,18 @@ jobs:
2323
php-version: ${{ matrix.php-versions }}
2424

2525
- name: Install dependencies
26-
if: ${{ matrix.php-versions != '8.0.0' }}
26+
if: ${{ matrix.php-versions != '8.0' }}
2727
run: |
2828
composer self-update
2929
composer install --no-interaction --prefer-source --dev
3030
3131
- name: Install dependencies(php8)
32-
if: ${{ matrix.php-versions == '8.0.0' }}
32+
if: ${{ matrix.php-versions == '8.0' }}
3333
run: |
34-
echo ${{ matrix.php-versions }}
34+
composer self-update
35+
composer install --no-interaction --prefer-source --no-dev
36+
composer require squizlabs/php_codesniffer=3.6.0
3537
composer require phpunit/phpunit=9.0.0
36-
composer install --no-interaction --prefer-source --dev
37-
3838
3939
- name: Run cases
4040
run: |

0 commit comments

Comments
 (0)