Image by name add architecture (#111) #317
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: CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ${{ matrix.operating-system }} | |
strategy: | |
matrix: | |
operating-system: [ubuntu-latest] | |
php-versions: [ '7.1', '7.2', '7.3', '7.4', '8.0', '8.1' ] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php-versions }} | |
- name: Install depdendencies | |
run: | | |
composer install | |
- name: Run phpunit | |
run: php vendor/bin/phpunit | |
- name: Run phpstan | |
run: php vendor/bin/phpstan analyse src --level 1 |