-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #355 from lcobucci/require-php8
Require PHP 8.0
- Loading branch information
Showing
22 changed files
with
212 additions
and
319 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ jobs: | |
dependencies: | ||
- "locked" | ||
php-version: | ||
- "7.4" | ||
- "8.0" | ||
operating-system: | ||
- "ubuntu-latest" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ jobs: | |
dependencies: | ||
- "highest" | ||
php-version: | ||
- "7.4" | ||
- "8.0" | ||
operating-system: | ||
- "ubuntu-latest" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ jobs: | |
dependencies: | ||
- "locked" | ||
php-version: | ||
- "7.4" | ||
- "8.0" | ||
operating-system: | ||
- "ubuntu-latest" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,8 @@ jobs: | |
- "locked" | ||
- "development" | ||
php-version: | ||
- "7.4" | ||
- "8.0" | ||
- "8.1" | ||
operating-system: | ||
- "ubuntu-latest" | ||
|
||
|
@@ -64,7 +65,7 @@ jobs: | |
run: "make phpunit" | ||
|
||
phpunit-rc: | ||
name: "PHPUnit tests on PHP 8" | ||
name: "PHPUnit tests on nightly" | ||
|
||
runs-on: ${{ matrix.operating-system }} | ||
|
||
|
@@ -73,7 +74,7 @@ jobs: | |
dependencies: | ||
- "locked" | ||
php-version: | ||
- "8.0" | ||
- "8.2" | ||
operating-system: | ||
- "ubuntu-latest" | ||
|
||
|
@@ -89,14 +90,16 @@ jobs: | |
ini-values: memory_limit=-1 | ||
tools: composer:v2, cs2pr | ||
|
||
- name: Get composer cache directory | ||
id: composer-cache | ||
run: echo "::set-output name=dir::$(composer config cache-files-dir)" | ||
|
||
- name: "Cache dependencies" | ||
uses: "actions/[email protected]" | ||
with: | ||
path: | | ||
~/.composer/cache | ||
vendor | ||
key: "php-${{ matrix.php-version }}-${{ matrix.dependencies }}" | ||
restore-keys: "php-${{ matrix.php-version }}-${{ matrix.dependencies }}" | ||
path: ${{ steps.composer-cache.outputs.dir }} | ||
key: "php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-${{ hashFiles('**/composer.lock') }}" | ||
restore-keys: "php-${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-" | ||
|
||
- name: "Install locked dependencies" | ||
if: ${{ matrix.dependencies == 'locked' }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ jobs: | |
dependencies: | ||
- "locked" | ||
php-version: | ||
- "7.4" | ||
- "8.0" | ||
operating-system: | ||
- "ubuntu-latest" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.