Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cerbero90 authored Jun 17, 2023
1 parent 5fc818a commit 8663d29
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,25 @@ jobs:

- name: Execute check
run: phpcs --standard=psr12 src/

static:
runs-on: ubuntu-latest

name: Static analysis

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.1
tools: composer:v2
coverage: none

- name: Install dependencies
run: composer update --prefer-stable --prefer-dist --no-interaction

- name: Execute check
run: vendor/bin/phpstan analyse

0 comments on commit 8663d29

Please sign in to comment.