Skip to content

Commit

Permalink
Add psalm to actions
Browse files Browse the repository at this point in the history
  • Loading branch information
M1ke committed Feb 28, 2024
1 parent 5edb910 commit a267b0d
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/psalm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Psalm static analysis

on: [push]

jobs:
build:
name: ${{matrix.operating-system}}, PHP ${{ matrix.php }}

runs-on: ${{ matrix.operating-system }}

strategy:
matrix:
operating-system: [ ubuntu-latest ]
php: ['8.1' ]

steps:
- uses: actions/checkout@master

- name: Setup PHP
uses: nanasess/setup-php@master
with:
php-version: ${{ matrix.php }}

- name: Install dependencies
run: composer install

- name: Run psalm
run: php vendor/bin/psalm

0 comments on commit a267b0d

Please sign in to comment.