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 d0a7e9f commit dadf321Copy full SHA for dadf321
.github/workflows/lint.yml
@@ -0,0 +1,36 @@
1
+name: lint
2
+
3
+on:
4
+ push:
5
+ branches: [ master ]
6
+ pull_request:
7
8
9
+jobs:
10
+ build:
11
12
+ strategy:
13
+ fail-fast: true
14
+ matrix:
15
+ php: [7.2 7.3 7.4]
16
17
+ runs-on: ubuntu-latest
18
+ name: PHP@${{ matrix.php }}
19
20
+ steps:
21
+ - uses: shivammathur/setup-php@v2
22
+ with:
23
+ php-version: ${{ matrix.php }}
24
+ tools: pecl
25
+ extensions: imagick
26
27
+ - uses: actions/checkout@v2
28
29
+ - name: Validate composer.json and composer.lock
30
+ run: composer validate
31
32
+ - name: Install dependencies
33
+ run: composer install --prefer-dist --no-progress --no-suggest
34
35
+ - name: Lint code
36
+ run: composer run-script lint
0 commit comments