We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c96ae9b commit 6aa1ff9Copy full SHA for 6aa1ff9
.github/workflows/ci.yml
@@ -0,0 +1,33 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request:
8
9
+jobs:
10
+ build:
11
12
+ runs-on: ubuntu-latest
13
14
+ strategy:
15
+ matrix:
16
+ php-versions: ['8.0', '8.1', '8.2']
17
18
+ name: PHP ${{ matrix.php-versions }}
19
20
+ steps:
21
+ - uses: actions/checkout@v4
22
23
+ - name: 🐘 Setup PHP
24
+ uses: shivammathur/setup-php@v2
25
+ with:
26
+ php-version: ${{ matrix.php-versions }}
27
+ tools: composer:v2
28
29
+ - name: ⬇️ Install dependencies
30
+ run: composer install
31
32
+ - name: 🏮 Lint
33
+ run: ./vendor/bin/ecs check
0 commit comments