diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index ed20a54..5b2d165 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -42,9 +42,19 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Set up Docker + - name: Set up Docker (Linux) + if: ${{ matrix.os == 'ubuntu-latest' }} uses: crazy-max/ghaction-setup-docker@v3 + - name: Set up Docker + if: ${{ matrix.os == 'macos-latest' }} + run: | + brew install docker + colima start + # For testcontainers to find the Colima socket + # https://github.com/abiosoft/colima/blob/main/docs/FAQ.md#cannot-connect-to-the-docker-daemon-at-unixvarrundockersock-is-the-docker-daemon-running + sudo ln -sf $HOME/.colima/default/docker.sock /var/run/docker.sock + - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3