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:
@@ -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:
|
12
.github/workflows/static.yml
vendored
12
.github/workflows/static.yml
vendored
@@ -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/
|
Reference in New Issue
Block a user