diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 528063568..aa8766a20 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -7,14 +7,14 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php: ['7.1', '7.2', '7.3', '7.4'] + php: ['7.1', '7.2', '7.3', '7.4', '8.0'] fail-fast: false name: PHP ${{ matrix.php }} tests steps: - uses: actions/checkout@v2 - - uses: shivammathur/setup-php@v1 + - uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} coverage: none @@ -22,10 +22,10 @@ jobs: - run: composer install --no-progress --prefer-dist - run: vendor/bin/tester tests -s -C - if: failure() - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v2 with: name: output - path: tests/DI/output + path: tests/**/output lowest_dependencies: @@ -33,7 +33,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: shivammathur/setup-php@v1 + - uses: shivammathur/setup-php@v2 with: php-version: 7.1 coverage: none @@ -47,7 +47,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: shivammathur/setup-php@v1 + - uses: shivammathur/setup-php@v2 with: php-version: 7.4 coverage: none diff --git a/.travis.yml b/.travis.yml index ee3bbaf96..4072ec244 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,7 @@ php: - 7.2 - 7.3 - 7.4 + - nightly before_install: # turn off XDebug @@ -62,7 +63,7 @@ jobs: - stage: Code Coverage -sudo: false +dist: xenial cache: directories: diff --git a/readme.md b/readme.md index 0cba29d93..e606b7d89 100644 --- a/readme.md +++ b/readme.md @@ -29,7 +29,7 @@ The recommended way to install is via Composer: composer require nette/di ``` -It requires PHP version 7.1 and supports PHP up to 7.4. +It requires PHP version 7.1 and supports PHP up to 8.0. Usage