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 ca82aeb commit bd1b91dCopy full SHA for bd1b91d
.github/workflows/lint.yml
@@ -0,0 +1,25 @@
1
+name: lint
2
+
3
+on:
4
+ push:
5
+ branches: [ master ]
6
+ pull_request:
7
+ types: [opened, synchronize, reopened, ready_for_review]
8
9
+jobs:
10
+ lint:
11
+ runs-on: ubuntu-latest
12
+ strategy:
13
+ matrix:
14
+ php-versions: [ '8.2' ]
15
+ steps:
16
+ - uses: actions/checkout@v4
17
18
+ - name: Setup PHP
19
+ uses: shivammathur/setup-php@v2
20
+ with:
21
+ php-version: ${{ matrix.php-versions }}
22
+ tools: cs2pr, parallel-lint
23
24
+ - name: Lint sources
25
+ run: composer exec --no-interaction -- parallel-lint bin/ contrib/ recipe/ src/ tests/ --checkstyle | cs2pr
0 commit comments