Skip to content

Commit

Permalink
Add PHP 8.1 support to GitHub workflow actions
Browse files Browse the repository at this point in the history
  • Loading branch information
devanych committed Jan 26, 2022
1 parent 6a23f99 commit 81b5791
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 9 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/mutation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- ubuntu-latest

php:
- 8.0
- 8.1

services:
oci:
Expand All @@ -50,10 +50,10 @@ jobs:
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: "${{ matrix.php }}"
php-version: ${{ matrix.php }}
extensions: ${{ env.extensions }}
ini-values: memory_limit=-1
coverage: "pcov"
coverage: pcov
tools: composer:v2, pecl

- name: Determine composer cache directory
Expand All @@ -66,6 +66,7 @@ jobs:
key: php${{ matrix.php }}-composer-${{ hashFiles('**/composer.json') }}
restore-keys: |
php${{ matrix.php }}-composer-
- name: Install dependencies with composer
run: composer update --prefer-dist --no-interaction --no-progress --optimize-autoloader

Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ jobs:
- ubuntu-latest

php:
- 7.4
- 8.0
- 8.1

steps:
- name: Checkout
Expand All @@ -42,7 +44,7 @@ jobs:
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: "${{ matrix.php }}"
php-version: ${{ matrix.php }}
tools: composer:v2, cs2pr
coverage: none

Expand Down
11 changes: 6 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@
"license": "BSD-3-Clause",
"support": {
"issues": "https://github.com/yiisoft/db-oracle/issues",
"forum": "http://www.yiiframework.com/forum/",
"wiki": "http://www.yiiframework.com/wiki/",
"forum": "https://www.yiiframework.com/forum/",
"wiki": "https://www.yiiframework.com/wiki/",
"irc": "irc://irc.freenode.net/yii",
"chat": "https://t.me/yii3en",
"source": "https://github.com/yiisoft/db-oracle"
},
"minimum-stability": "dev",
Expand All @@ -23,10 +24,10 @@
"yiisoft/strings": "^2.0"
},
"require-dev": {
"phpunit/phpunit": "^9.4",
"roave/infection-static-analysis-plugin": "^1.14",
"phpunit/phpunit": "^9.5",
"roave/infection-static-analysis-plugin": "^1.16",
"spatie/phpunit-watcher": "^1.23",
"vimeo/psalm": "^4.2",
"vimeo/psalm": "^4.18",
"yiisoft/active-record": "dev-master",
"yiisoft/aliases": "^1.1|^2.0",
"yiisoft/cache": "^1.0",
Expand Down

0 comments on commit 81b5791

Please sign in to comment.