File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed
Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ name : PHP Version Compatibility
3+
4+ on :
5+ - push
6+ - pull_request
7+ # Allow manually triggering the workflow.
8+ - workflow_dispatch
9+
10+ # Cancels all previous workflow runs for the same branch that have not yet completed.
11+ concurrency :
12+ # The concurrency group contains the workflow name and the branch name.
13+ group : ${{ github.workflow }}-${{ github.ref }}
14+ cancel-in-progress : true
15+
16+ jobs :
17+ php-codesniffer :
18+ strategy :
19+ matrix :
20+ php : [ '8.0', '8.1' ]
21+ runs-on : ubuntu-20.04
22+ steps :
23+ - uses : actions/checkout@v3
24+ - uses : pipeline-components/php-codesniffer@master
25+ with :
26+ options : >-
27+ -s
28+ --ignore='*vendor/*'
29+ --standard=PHPCompatibility
30+ --extensions=php
31+ --runtime-set testVersion ${{ matrix.php }}
You can’t perform that action at this time.
0 commit comments