Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: shivammathur/setup-php@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
php-version: 8.4
extensions: gd
coverage: none

- run: composer install --no-progress --prefer-dist
Expand Down
45 changes: 24 additions & 21 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,50 +6,51 @@ jobs:

linux:
name: Test on Linux
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php-version: ['8.1', '8.2', '8.3']
php-version: ['8.1', '8.2', '8.3', '8.4']

steps:
- uses: actions/checkout@v2
with:
fetch-depth: 1

- run: php${{ matrix.php-version }} -v
- run: php${{ matrix.php-version }} -m
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
extensions: gd
coverage: none

- run: php -v
- run: php -m
- run: composer -V
- run: composer install --no-progress
- run: php${{ matrix.php-version }} vendor/bin/phpunit
- run: php vendor/bin/phpunit

windows:
name: Test on Windows
defaults:
run:
shell: cmd
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
php-version: ['8.1', '8.2', '8.3']
arch: [x64]
ts: [nts]
php-version: ['8.1', '8.2', '8.3', '8.4']

steps:
- name: Setup PHP
id: setup-php
uses: php/setup-php-sdk@v0.10
with:
version: ${{matrix.php-version}}
arch: ${{matrix.arch}}
ts: ${{matrix.ts}}
- uses: actions/checkout@v2
with:
fetch-depth: 1

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
extensions: gd
coverage: none

- run: php -v
- run: echo extension=gd>>C:\tools\php\php.ini
- run: php -m
- run: composer -V
- run: composer install --no-progress
Expand All @@ -60,9 +61,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: shivammathur/setup-php@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.3
php-version: 8.4
extensions: gd
coverage: none

- run: composer install --no-progress
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
}
},
"require": {
"php": "^7.3|^8.0"
"php": "^8.1"
},
"require-dev": {
"ext-gd": "*",
Expand Down