Mark Sch 4 years ago
parent
commit
a76a29735a
1 changed files with 4 additions and 8 deletions
  1. 4 8
      .github/workflows/ci.yml

+ 4 - 8
.github/workflows/ci.yml

@@ -13,7 +13,7 @@ jobs:
     strategy:
       fail-fast: false
       matrix:
-        php-version: ['7.2', '7.4']
+        php-version: ['7.2', '8.0']
         db-type: [sqlite, mysql, pgsql]
         prefer-lowest: ['']
         include:
@@ -30,9 +30,7 @@ jobs:
           POSTGRES_PASSWORD: postgres
 
     steps:
-    - uses: actions/checkout@v1
-      with:
-        fetch-depth: 1
+    - uses: actions/checkout@v2
 
     - name: Setup Service
       if: matrix.db-type == 'mysql'
@@ -61,7 +59,7 @@ jobs:
     - name: Composer install --no-progress --prefer-dist --optimize-autoloader
       run: |
         composer --version
-        composer require --dev phpunit/phpunit:"^8.5"
+        composer require --dev phpunit/phpunit:"^8.5||^9.5"
         if ${{ matrix.prefer-lowest == 'prefer-lowest' }}
         then
           composer update --prefer-lowest --prefer-stable
@@ -93,9 +91,7 @@ jobs:
     runs-on: ubuntu-18.04
 
     steps:
-    - uses: actions/checkout@v1
-      with:
-        fetch-depth: 1
+    - uses: actions/checkout@v2
 
     - name: Setup PHP
       uses: shivammathur/setup-php@v2