Skip to content

Commit 26273fe

Browse files
PratikshaPratiksha
authored andcommitted
DEBUG
1 parent 73a2eca commit 26273fe

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/psalm.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Psalm Static Analysis
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- '**/*.php'
9+
pull_request:
10+
paths:
11+
- '**/*.php'
12+
workflow_dispatch:
13+
14+
jobs:
15+
psalm:
16+
name: Run Psalm
17+
runs-on: ubuntu-latest
18+
19+
steps:
20+
- name: Checkout code
21+
uses: actions/checkout@v3
22+
23+
- name: Set up PHP
24+
uses: shivammathur/setup-php@v2
25+
with:
26+
php-version: 8.3
27+
tools: composer, psalm
28+
29+
- name: Install dependencies
30+
run: composer install --no-progress --prefer-dist
31+
32+
- name: Run Psalm
33+
run: vendor/bin/psalm --output-format=github

0 commit comments

Comments
 (0)