瀏覽代碼

github switched to ubuntu 20.04 and it seems to default on php 8, which our current composer setup doesn't support

El RIDO 5 年之前
父節點
當前提交
2d6d0252cf
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      .github/workflows/tests.yml

+ 1 - 1
.github/workflows/tests.yml

@@ -10,7 +10,7 @@ jobs:
     - name: Validate composer.json and composer.lock
       run: composer validate
     - name: Install dependencies
-      run: composer install --prefer-dist --no-progress --no-suggest
+      run: /usr/bin/php7.4 composer install --prefer-dist --no-suggest
   PHPunit:
     runs-on: ubuntu-latest
     strategy: