From 5b78caa84441f7ba24af3b651827841f1c8fbb30 Mon Sep 17 00:00:00 2001 From: Urata Daiki <7nohe@users.noreply.github.com> Date: Sun, 19 May 2024 22:06:07 +0900 Subject: [PATCH] chore: Install Docker on macOS in test workflow --- .github/workflows/test.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ec39b87..e594bc6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -30,6 +30,12 @@ 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 start + - 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 working-directory: examples/laravel10-app