mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-02 14:25:38 +08:00
adjust workflow php version
This commit is contained in:
2
.github/workflows/static-analysis.yml
vendored
2
.github/workflows/static-analysis.yml
vendored
@@ -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
|
||||||
|
|||||||
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user