Skip to content

Commit

Permalink
Run builds on PHP up to 8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
OndraM committed Jan 15, 2024
1 parent e16a84a commit 1c64836
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/php.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,15 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php-version: ['7.3', '7.4']
php-version: ['7.3', '7.4', '8.0', '8.1', '8.2', '8.3']
dependencies: ['']
include:
- { php-version: '7.3', dependencies: '--prefer-lowest' }
- { php-version: '8.0', dependencies: '--ignore-platform-req=php' }

name: PHP ${{ matrix.php-version }} ${{ matrix.dependencies }} (unit tests)

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- uses: shivammathur/setup-php@v2
with:
Expand Down Expand Up @@ -59,12 +58,12 @@ jobs:
name: "Integration tests"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
php-version: '8.3'
extensions: mbstring, intl, zip
coverage: xdebug
tools: composer:v2
Expand Down Expand Up @@ -92,12 +91,12 @@ jobs:
name: "Code style and static analysis"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
php-version: '8.3'
extensions: mbstring, intl

- name: Cache Composer dependencies
Expand All @@ -122,7 +121,7 @@ jobs:
name: "Markdown link check"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
use-verbose-mode: 'yes'
2 changes: 1 addition & 1 deletion .github/workflows/pr-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
name: Block fixup commits

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Block fixup commit merge
uses: 13rac1/[email protected]
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"phpstan/phpstan": "^1.10",
"phpstan/phpstan-phpunit": "^1.3",
"phpunit/phpunit": "^9.6.15",
"symfony/var-dumper": "^3.3 || ^4.0 || ^5.0"
"symfony/var-dumper": "^4.0 || ^5.0"
},
"minimum-stability": "stable",
"autoload": {
Expand Down

0 comments on commit 1c64836

Please sign in to comment.