2023-10-16 16:43:01 +00:00
|
|
|
on: [push]
|
|
|
|
jobs:
|
2023-10-16 17:15:01 +00:00
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
2023-10-16 17:03:17 +00:00
|
|
|
steps:
|
2023-10-16 17:15:01 +00:00
|
|
|
- name: Checkout code
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
|
|
|
|
- name: Setup PHP
|
2023-10-16 17:16:13 +00:00
|
|
|
uses: github.com/shivammathur/setup-php@v2
|
2023-10-16 17:15:01 +00:00
|
|
|
with:
|
|
|
|
php-version: '8.2'
|
|
|
|
extensions: mbstring, intl, pdo_sqlite
|
|
|
|
coverage: xdebug
|
|
|
|
|
|
|
|
- name: Validate composer.json and composer.lock
|
|
|
|
run: composer validate
|
|
|
|
|
|
|
|
- name: Install dependencies
|
|
|
|
run: composer install --prefer-dist --no-progress
|