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 a14c2e7 commit e923e62Copy full SHA for e923e62
.github/workflows/coding-conventions.yml
@@ -0,0 +1,31 @@
1
+name: Coding conventions
2
+
3
+on:
4
+ pull_request:
5
+ workflow_dispatch:
6
7
+jobs:
8
+ check-style:
9
+ name: Run style check
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v4
13
14
+ - name: Setup PHP
15
+ uses: shivammathur/setup-php@v2
16
+ with:
17
+ php-version: 8.4
18
+ coverage: none
19
20
+ - name: Install dependencies
21
+ run: |
22
+ composer update --prefer-dist --no-interaction
23
+ composer mago:install-binary
24
25
+ - name: Run Mago
26
27
+ ./vendor/bin/mago fmt --dry-run
28
+ ./vendor/bin/mago lint --reporting-format=github
29
30
+ - name: Run PHPStan
31
+ run: vendor/bin/phpstan --error-format=github
0 commit comments