25 lines
668 B
YAML
25 lines
668 B
YAML
name: CI
|
|
on:
|
|
pull_request: null
|
|
push:
|
|
branches:
|
|
- lib
|
|
jobs:
|
|
tests:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
php: ['7.4', '8.0']
|
|
|
|
name: Linting - PHP ${{ matrix.php }}
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: shivammathur/setup-php@v2
|
|
with:
|
|
php-version: ${{ matrix.php }}
|
|
coverage: none
|
|
extensions: intl
|
|
- run: composer install --no-progress
|
|
# - run: composer codestyle
|
|
- run: composer phpstan
|
|
- run: composer tests
|