|
|
|
@ -4,11 +4,22 @@ on: [push] |
|
|
|
|
|
|
|
|
|
jobs: |
|
|
|
|
build: |
|
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
|
|
|
|
|
runs-on: ${{ matrix.operating-system }} |
|
|
|
|
strategy: |
|
|
|
|
matrix: |
|
|
|
|
operating-system: [ubuntu-latest] |
|
|
|
|
php-versions: ['7.2', '7.3', '7.4'] |
|
|
|
|
name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }} |
|
|
|
|
|
|
|
|
|
steps: |
|
|
|
|
- uses: actions/checkout@v1 |
|
|
|
|
|
|
|
|
|
- name: Setup PHP Action |
|
|
|
|
uses: shivammathur/setup-php@1.6.1 |
|
|
|
|
with: |
|
|
|
|
php-version: ${{ matrix.php-versions }} |
|
|
|
|
extensions: mbstring, intl, gd |
|
|
|
|
|
|
|
|
|
- name: Validate composer.json and composer.lock |
|
|
|
|
run: composer validate |
|
|
|
|