create Github Action

This commit is contained in:
Dominik Liebler
2019-12-15 19:23:40 +01:00
committed by GitHub
parent 62e6f5dbc8
commit 3a691fd517

27
.github/workflows/php.yml vendored Normal file
View File

@@ -0,0 +1,27 @@
name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Validate composer.json and composer.lock
run: composer validate
- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest --no-interaction
- uses: php-actions/phpunit@v1
- name: phpcs
run: vendor/bin/phpcs .
- name: psalm
run: vendor/bin/psalm --show-info=false
- name: check readme refs
run: ./check-refs-readmes