diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0f21160..37770a4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -19,7 +19,19 @@ jobs: tests/Redis6016Test.php ] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + - name: Install PHP and Composer on macOS + if: matrix.os == 'macos-latest' + run: | + brew update + brew install php + brew install composer + - name: Install PHP and Composer on Ubuntu + if: matrix.os == 'ubuntu-latest' + run: | + sudo apt-get update + sudo apt-get install -y php + sudo apt-get install -y composer - name: Composer install run: | composer install