-
Notifications
You must be signed in to change notification settings - Fork 35
33 lines (27 loc) · 789 Bytes
/
psalm.yml
File metadata and controls
33 lines (27 loc) · 789 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Psalm
on: [push, pull_request]
jobs:
psalm:
name: Psalm on PHP ${{ matrix.php-versions }}
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: ['ubuntu-latest']
php-versions: ['8.4']
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
tools: psalm:6
coverage: none
- name: Install Composer dependencies
uses: "ramsey/composer-install@v3"
with:
composer-options: --no-dev
- name: Use New psalm.xml
run: mv psalm.xml psalm-old.xml && mv psalm-new.xml psalm.xml
- name: Static Analysis
run: psalm