Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

Commit

Permalink
Test on PHP 8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
janlanger committed Nov 15, 2021
1 parent 380cc0c commit cd9a49a
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 @@ -21,6 +21,7 @@ jobs:
- "7.3"
- "7.4"
- "8.0"
- "8.1"

steps:
- name: "Checkout"
Expand Down Expand Up @@ -60,15 +61,15 @@ jobs:
uses: "shivammathur/setup-php@v2"
with:
coverage: "none"
php-version: "7.4"
php-version: "8.0"
tools: composer:v2

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

- name: "Install dependencies"
run: "composer update --prefer-dist --no-interaction --no-progress --no-suggest"
Expand All @@ -89,6 +90,7 @@ jobs:
php-version:
- "7.4"
- "8.0"
- "8.1"

steps:
- name: "Checkout"
Expand Down Expand Up @@ -127,6 +129,7 @@ jobs:
- "7.3"
- "7.4"
- "8.0"
- "8.1"

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

Expand Down Expand Up @@ -172,16 +175,16 @@ jobs:
uses: "shivammathur/setup-php@v2"
with:
coverage: "pcov"
php-version: "7.4"
php-version: "8.0"
tools: pecl
extensions: soap

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

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

0 comments on commit cd9a49a

Please sign in to comment.