Skip to content

Commit

Permalink
Test on PHP 8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
janlanger committed Mar 4, 2024
1 parent b40c89a commit c14aac9
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
php-version:
- "8.1"
- "8.2"
- "8.3"

steps:
- name: "Checkout"
Expand Down Expand Up @@ -57,15 +58,15 @@ jobs:
uses: "shivammathur/setup-php@v2"
with:
coverage: "none"
php-version: "8.1"
php-version: "8.3"
tools: composer:v2

- name: "Cache dependencies"
uses: "actions/cache@v2"
with:
path: "~/.composer/cache"
key: "php-8.1-composer-${{ hashFiles('**/composer.json') }}"
restore-keys: "php-8.1-composer-"
key: "php-8.3-composer-${{ hashFiles('**/composer.json') }}"
restore-keys: "php-8.3-composer-"

- name: "Install dependencies"
run: "composer update --prefer-dist --no-interaction --no-progress --no-suggest"
Expand All @@ -86,6 +87,7 @@ jobs:
php-version:
- "8.1"
- "8.2"
- "8.3"

steps:
- name: "Checkout"
Expand Down Expand Up @@ -122,6 +124,7 @@ jobs:
php-version:
- "8.1"
- "8.2"
- "8.3"

operating-system: ["ubuntu-latest", "windows-latest"]

Expand Down Expand Up @@ -167,15 +170,15 @@ jobs:
uses: "shivammathur/setup-php@v2"
with:
coverage: "pcov"
php-version: "8.1"
php-version: "8.3"
tools: pecl

- name: "Cache dependencies"
uses: "actions/cache@v2"
with:
path: "~/.composer/cache"
key: "php-8.1-composer-${{ hashFiles('**/composer.json') }}"
restore-keys: "php-8.1-composer-"
key: "php-8.3-composer-${{ hashFiles('**/composer.json') }}"
restore-keys: "php-8.3-composer-"

- name: "Install dependencies"
run: "composer update --prefer-dist --no-interaction --no-progress --no-suggest"
Expand Down

0 comments on commit c14aac9

Please sign in to comment.