Skip to content

Commit 31e2801

Browse files
committed
tested on PHP 8.0
1 parent 5a5211d commit 31e2801

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

.github/workflows/tests.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,33 +7,33 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
php: ['7.1', '7.2', '7.3', '7.4']
10+
php: ['7.1', '7.2', '7.3', '7.4', '8.0']
1111

1212
fail-fast: false
1313

1414
name: PHP ${{ matrix.php }} tests
1515
steps:
1616
- uses: actions/checkout@v2
17-
- uses: shivammathur/setup-php@v1
17+
- uses: shivammathur/setup-php@v2
1818
with:
1919
php-version: ${{ matrix.php }}
2020
coverage: none
2121

2222
- run: composer install --no-progress --prefer-dist
2323
- run: vendor/bin/tester tests -s -C
2424
- if: failure()
25-
uses: actions/upload-artifact@v1
25+
uses: actions/upload-artifact@v2
2626
with:
2727
name: output
28-
path: tests/DI/output
28+
path: tests/**/output
2929

3030

3131
lowest_dependencies:
3232
name: Lowest Dependencies
3333
runs-on: ubuntu-latest
3434
steps:
3535
- uses: actions/checkout@v2
36-
- uses: shivammathur/setup-php@v1
36+
- uses: shivammathur/setup-php@v2
3737
with:
3838
php-version: 7.1
3939
coverage: none
@@ -47,7 +47,7 @@ jobs:
4747
runs-on: ubuntu-latest
4848
steps:
4949
- uses: actions/checkout@v2
50-
- uses: shivammathur/setup-php@v1
50+
- uses: shivammathur/setup-php@v2
5151
with:
5252
php-version: 7.4
5353
coverage: none

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ php:
44
- 7.2
55
- 7.3
66
- 7.4
7+
- nightly
78

89
before_install:
910
# turn off XDebug
@@ -62,7 +63,7 @@ jobs:
6263
- stage: Code Coverage
6364

6465

65-
sudo: false
66+
dist: xenial
6667

6768
cache:
6869
directories:

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ The recommended way to install is via Composer:
2929
composer require nette/di
3030
```
3131

32-
It requires PHP version 7.1 and supports PHP up to 7.4.
32+
It requires PHP version 7.1 and supports PHP up to 8.0.
3333

3434

3535
Usage

0 commit comments

Comments
 (0)