@@ -26,12 +26,12 @@ jobs:
26
26
- 5.4
27
27
- 5.3
28
28
steps :
29
- - uses : actions/checkout@v2
29
+ - uses : actions/checkout@v3
30
30
- uses : shivammathur/setup-php@v2
31
31
with :
32
32
php-version : ${{ matrix.php }}
33
33
coverage : xdebug
34
- - run : composer remove react/mysql -- dev --no-interaction # do not install react/mysql example on legacy PHP
34
+ - run : composer remove react/mysql react/promise-timer -- dev --no-interaction # do not install incompatible packages on legacy PHP
35
35
if : ${{ matrix.php == 5.3 }}
36
36
- run : composer install
37
37
- run : vendor/bin/phpunit --coverage-text
@@ -41,13 +41,21 @@ jobs:
41
41
42
42
PHPUnit-hhvm :
43
43
name : PHPUnit (HHVM)
44
- runs-on : ubuntu-24 .04
44
+ runs-on : ubuntu-22 .04 # Updated to 22.04 to prepare for 20.04 retirement
45
45
continue-on-error : true
46
46
steps :
47
- - uses : actions/checkout@v2
48
- - uses : azjezz/setup-hhvm@v1
49
- with :
50
- version : lts-3.30
47
+ - uses : actions/checkout@v3
48
+ - run : |
49
+ sudo apt-get update
50
+ sudo apt-get install -y software-properties-common apt-transport-https curl gnupg
51
+ curl -s https://dl.hhvm.com/conf/hhvm.gpg.key | sudo apt-key add -
52
+ echo "deb https://dl.hhvm.com/ubuntu $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/hhvm.list
53
+ sudo apt-get update
54
+ sudo apt-get install -y hhvm
55
+ continue-on-error: true
51
56
- run : composer self-update --2.2 # downgrade Composer for HHVM
57
+ continue-on-error : true
52
58
- run : hhvm $(which composer) install
59
+ continue-on-error : true
53
60
- run : hhvm vendor/bin/phpunit
61
+ continue-on-error : true
0 commit comments