Skip to content

Commit

Permalink
Add psalm action
Browse files Browse the repository at this point in the history
  • Loading branch information
davidrans committed Aug 20, 2024
1 parent 96bdb52 commit fe9d102
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/psalm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: psalm

on:
push:
branches:
- '**'
pull_request:
branches:
- '**'

jobs:
psalm:
name: psalm
runs-on: ubuntu-latest

strategy:
matrix:
php-version: '8.3'

timeout-minutes: 15
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up PHP ${{ matrix.php-version }}
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}


- name: Run composer install
run: composer install

- name: Run psalm
run: ./vendor/bin/psalm --output-format=github --update-baseline

0 comments on commit fe9d102

Please sign in to comment.