From 3a691fd517151017296e7815bbfa7bcaecc0ca2e Mon Sep 17 00:00:00 2001 From: Dominik Liebler Date: Sun, 15 Dec 2019 19:23:40 +0100 Subject: [PATCH] create Github Action --- .github/workflows/php.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/php.yml diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml new file mode 100644 index 0000000..e1520c3 --- /dev/null +++ b/.github/workflows/php.yml @@ -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