-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (31 loc) · 804 Bytes
/
psalm.yml
File metadata and controls
37 lines (31 loc) · 804 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
34
35
36
37
name: psalm
on:
push:
branches:
- '*.x'
pull_request:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
permissions:
contents: read
jobs:
psalm:
name: Psalm Static Analysis on PHP ${{ matrix.php-version }} (Ubuntu 24.04)
runs-on: ubuntu-24.04
strategy:
matrix:
php-version:
- '8.4'
steps:
- name: Setup PHP ${{ matrix.php-version }}
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
extensions: mbstring, xml
- name: Checkout Repository
uses: actions/checkout@v4
- name: Install Dependencies
run: composer install --prefer-dist --no-interaction --no-progress --dev
- name: Run Psalm
run: vendor/bin/psalm --show-info=true