We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73a2eca commit 26273feCopy full SHA for 26273fe
.github/workflows/psalm.yml
@@ -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
11
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