Skip to content

Commit

Permalink
Create psalm.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Nathanael Esayeas <nathanael.esayeas@protonmail.com>
  • Loading branch information
ghostwriter committed Apr 17, 2023
1 parent ec7cdfc commit 8041877
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions .github/workflows/psalm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Psalm Static analysis

on: [push, pull_request]

jobs:
psalm:
name: Psalm
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Psalm
uses: docker://ghcr.io/psalm/psalm-github-actions:5.9.0
with:
args: --shepherd
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ jobs:
command: composer update --no-interaction --no-progress --ignore-platform-req=php

- name: Execute PHPUnit
run: vendor/bin/phpunit
run: vendor/bin/phpunit

0 comments on commit 8041877

Please sign in to comment.