diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c3229ac..fc23f57 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,7 +13,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-latest, macos-latest, windows-latest] + os: [ubuntu-latest, macos-13, windows-latest] steps: - uses: actions/checkout@v4 - uses: pnpm/action-setup@v3 @@ -30,11 +30,9 @@ jobs: - run: cp .env.example .env working-directory: examples/laravel10-app - - name: install docker on macos - if: matrix.os == 'macos-latest' - run: | - brew install docker colima - colima start + - name: Setup Docker on macOS + uses: douglascamata/setup-docker-macos-action@v1-alpha + if: startsWith(matrix.os, 'macos') - name: composer install run: docker run --rm -u "$(id -u):$(id -g)" -v "$(pwd):/var/www/html" -w /var/www/html laravelsail/php81-composer:latest composer install --ignore-platform-reqs