Skip to content

Commit

Permalink
Merge pull request #5 from peckadesign/github_actions
Browse files Browse the repository at this point in the history
Sjednocení Github Actions napříč organizací
  • Loading branch information
jakubenglicky authored Mar 26, 2021
2 parents 900fb55 + d9b743d commit 834b70f
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 32 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/php-package-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Package CI

on:
pull_request:

jobs:
checks:
name: Checks
runs-on: ubuntu-latest
strategy:
matrix:
php: [ 7.4, 8.0 ]
steps:
- uses: actions/checkout@v2
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}

- run: make composer

- run: make phpstan
32 changes: 0 additions & 32 deletions .github/workflows/static_analysis.yml

This file was deleted.

6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
composer:
composer validate
composer update --no-interaction --prefer-dist

phpstan:
vendor/bin/phpstan analyse src/ --level 8 --no-progress --error-format github

0 comments on commit 834b70f

Please sign in to comment.