mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 16:51:40 +09:00
Add PHP 8.2 and remove PHP 7.1 in github actions CI config
This commit is contained in:
parent
0f12a10b05
commit
6cb00a72b8
1 changed files with 2 additions and 7 deletions
9
.github/workflows/ci.yml
vendored
9
.github/workflows/ci.yml
vendored
|
|
@ -6,7 +6,7 @@ jobs:
|
|||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
php: [ '7.1', '7.2', '7.3', '7.4', '8.0', '8.1' ]
|
||||
php: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2' ]
|
||||
|
||||
name: PHP ${{ matrix.php }}
|
||||
steps:
|
||||
|
|
@ -30,14 +30,9 @@ jobs:
|
|||
- name: PHP Lint
|
||||
run: if find . -name "*.php" ! -path "./vendor/*" -print0 | xargs -0 -n 1 -P 8 php -l | grep -v "No syntax errors detected"; then exit 1; fi
|
||||
|
||||
- name: Download codeception (PHP 7.2 and above)
|
||||
if: matrix.php >= '7.2'
|
||||
- name: Download codeception
|
||||
run: wget https://codeception.com/codecept.phar
|
||||
|
||||
- name: Download codeception (PHP 7.1 and below)
|
||||
if: matrix.php <= '7.1'
|
||||
run: wget https://codeception.com/php56/codecept.phar
|
||||
|
||||
- name: Run PHP development server
|
||||
run: php -S localhost:8000 &
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue