Skip to content

Commit f377289

Browse files
committed
GH Actions: lint against all supported PHP versions
For now, linting against PHP 8.1 is set to be allowed to fail. This should be turned off once PHP 8.1 has been released in 4/5 weeks time. Optionally, the `test` workflow could be made dependent on the `lint` workflow, so it won't run unnecessarily.
1 parent d0f43ef commit f377289

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,14 @@ jobs:
1616
lint:
1717
name: "Lint"
1818
runs-on: "ubuntu-latest"
19+
20+
strategy:
21+
fail-fast: false
22+
matrix:
23+
php-version: [ '5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1' ]
24+
25+
continue-on-error: ${{ matrix.php-version == '8.1' }}
26+
1927
steps:
2028
- uses: "actions/checkout@v2"
2129
- uses: "shivammathur/setup-php@v2"

0 commit comments

Comments
 (0)