@@ -26,12 +26,12 @@ jobs:
2626 - 5.4
2727 - 5.3
2828 steps :
29- - uses : actions/checkout@v2
29+ - uses : actions/checkout@v3
3030 - uses : shivammathur/setup-php@v2
3131 with :
3232 php-version : ${{ matrix.php }}
3333 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
3535 if : ${{ matrix.php == 5.3 }}
3636 - run : composer install
3737 - run : vendor/bin/phpunit --coverage-text
@@ -41,13 +41,21 @@ jobs:
4141
4242 PHPUnit-hhvm :
4343 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
4545 continue-on-error : true
4646 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
5156 - run : composer self-update --2.2 # downgrade Composer for HHVM
57+ continue-on-error : true
5258 - run : hhvm $(which composer) install
59+ continue-on-error : true
5360 - run : hhvm vendor/bin/phpunit
61+ continue-on-error : true
0 commit comments