adjust workflow php version

This commit is contained in:
sunxyw
2022-09-10 16:04:15 +08:00
parent 6c9cd06e4a
commit a18fcdb21e
2 changed files with 2 additions and 2 deletions

View File

@@ -33,7 +33,7 @@ jobs:
- name: Setup PHP - name: Setup PHP
uses: sunxyw/workflows/setup-environment@main uses: sunxyw/workflows/setup-environment@main
with: with:
php-version: 8.0 php-version: 7.4
php-extensions: swoole, posix, json php-extensions: swoole, posix, json
operating-system: ubuntu-latest operating-system: ubuntu-latest
use-cache: true use-cache: true

View File

@@ -33,7 +33,7 @@ jobs:
strategy: strategy:
matrix: matrix:
operating-system: [ ubuntu-latest, windows-latest, macos-latest ] operating-system: [ ubuntu-latest, windows-latest, macos-latest ]
php-version: [ 7.4, 8.0 ] php-version: [ 7.4, 8.0, 8.1 ]
name: PHP ${{ matrix.php-version }} Test (${{ matrix.operating-system }}) name: PHP ${{ matrix.php-version }} Test (${{ matrix.operating-system }})
runs-on: ${{ matrix.operating-system }} runs-on: ${{ matrix.operating-system }}
steps: steps: