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 d843f71 commit 5324ba6Copy full SHA for 5324ba6
1 file changed
.github/workflows/tests.yml
@@ -0,0 +1,35 @@
1
+name: Static analysis
2
+
3
+on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
8
+jobs:
9
10
+ phpstan:
11
+ name: PHPStan
12
+ runs-on: ubuntu-latest
13
+ timeout-minutes: 10
14
15
+ strategy:
16
+ matrix:
17
+ php-version: ['8.0', '8.1', '8.2']
18
19
+ steps:
20
+ - uses: actions/checkout@v2
21
22
+ - name: Setup PHP
23
+ id: setup-php
24
+ uses: shivammathur/setup-php@v2
25
+ with:
26
+ php-version: ${{ matrix.php-version }}
27
+ coverage: none
28
29
+ - uses: "ramsey/composer-install@v2"
30
31
+ composer-options: "--prefer-dist --no-progress --no-suggest"
32
33
+ - run: composer require redaxo/source
34
35
+ - run: composer test
0 commit comments