update CI php versions #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Code Style PHP | ||
on: [ workflow_call ] | ||
jobs: | ||
test-php: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
php_version: ["8.2"] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: php-actions/composer@v6 | ||
with: | ||
php_version: ${{ matrix.php_version }} | ||
- name: Run composer test | ||
uses: php-actions/composer@v6 | ||
with: | ||
php_version: ${{ matrix.php_version }} | ||
command: run-script | ||
args: test | ||
test-php-experimental: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
php_version: ["8.3-rc] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: php-actions/composer@v6 | ||
with: | ||
php_version: ${{ matrix.php_version }} | ||
- name: Run composer test | ||
uses: php-actions/composer@v6 | ||
with: | ||
php_version: ${{ matrix.php_version }} | ||
command: run-script | ||
args: test | ||
continue-on-error: true |