Skip to content

Commit 3d2e0ef

Browse files
Merge pull request #9 from peckadesign/jakubenglicky-patch-1
Nasazení GA šablony
2 parents b688adb + 4620a79 commit 3d2e0ef

File tree

3 files changed

+28
-18
lines changed

3 files changed

+28
-18
lines changed

.github/workflows/php-package-ci.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Package CI
2+
3+
on:
4+
pull_request:
5+
6+
jobs:
7+
checks:
8+
name: Checks
9+
runs-on: ubuntu-latest
10+
strategy:
11+
matrix:
12+
php: [ 7.1, 7.2, 7.3, 7.4 ]
13+
steps:
14+
- uses: actions/checkout@v2
15+
- uses: shivammathur/setup-php@v2
16+
with:
17+
php-version: ${{ matrix.php }}
18+
19+
- run: make composer
20+
21+
- if: matrix.php == '7.4'
22+
run: make phpstan

.travis.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
composer:
2+
composer validate
3+
composer update --no-interaction --prefer-dist
4+
5+
phpstan:
6+
vendor/bin/phpstan analyse -l 5 src/ --no-progress --error-format github

0 commit comments

Comments
 (0)