Skip to content

Commit 19d213e

Browse files
committed
ci: Point macOs runs to right docker host
1 parent 23daed5 commit 19d213e

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/integration-tests.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,16 @@ jobs:
8080
- name: Setup Docker (macOS)
8181
if: matrix.os == 'macos-13'
8282
uses: docker/setup-docker-action@v4
83+
with:
84+
set-host: true
8385

8486
- name: Ensure Docker is running
8587
run: |
86-
docker info || (sudo systemctl start docker && docker info)
88+
# Create symlink so Bollard (cargo-contract) can find the socket at the default location
89+
if [ -S "$HOME/.lima/docker-actions-toolkit/docker.sock" ]; then
90+
sudo ln -sf "$HOME/.lima/docker-actions-toolkit/docker.sock" /var/run/docker.sock
91+
fi
92+
docker info
8793
8894
- name: Install cargo-nextest
8995
uses: taiki-e/install-action@v2

0 commit comments

Comments
 (0)