1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-07 05:36:54 +02:00

feate(github): update ci

This commit is contained in:
Awilum
2022-04-05 21:37:07 +03:00
parent 1febf2abe0
commit a7b4e1a24c
2 changed files with 12 additions and 15 deletions

View File

@@ -1,8 +1,17 @@
name: Tests
name: CI
on: ['push', 'pull_request']
jobs:
build:
name: PHP ${{ matrix.php }} - ${{ matrix.os }} - ${{ matrix.dependency-version }}
phpstan:
name: PHP Static Analysis
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: PHPStan
uses: docker://oskarstark/phpstan-ga
with:
args: analyse src/
tests:
name: Unit Tests for PHP ${{ matrix.php }} - ${{ matrix.os }} - ${{ matrix.dependency-version }}
runs-on: ${{ matrix.os }}
strategy:
matrix:

View File

@@ -1,12 +0,0 @@
name: Static Analysis
on: [push, pull_request]
jobs:
phpstan:
name: PHPStan
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: PHPStan
uses: docker://oskarstark/phpstan-ga
with:
args: analyse src/