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 c8302c7 commit 93db107Copy full SHA for 93db107
1 file changed
.github/workflows/mago.yml
@@ -0,0 +1,25 @@
1
+name: Mago
2
+
3
+permissions:
4
+ contents: read
5
6
+on:
7
+ push:
8
+ pull_request:
9
10
+jobs:
11
+ run:
12
+ name: Run Mago
13
+ runs-on: 'ubuntu-latest'
14
+ steps:
15
+ - name: Checkout code
16
+ uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
17
18
+ - name: Setup PHP
19
+ uses: ./.github/actions/setup-php
20
21
+ - name: Install Mago
22
+ run: composer config --no-plugins allow-plugins.carthage-software/mago true; composer require --dev carthage-software/mago:1.9.1
23
24
+ - name: Run Mago
25
+ run: ./vendor/bin/mago --config .mago/mago.toml analyze
0 commit comments