Skip to content

Commit f5c7443

Browse files
committed
2.x: Using 'Setup Docker on macOS' action
1 parent 73ca577 commit f5c7443

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

.github/workflows/devel-colima-intel-macos.yml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,24 @@ jobs:
1717
- uses: actions/checkout@v4
1818
with:
1919
ref: '2.x-devel'
20-
- name: Setup Docker on macOS
21-
uses: douglascamata/setup-docker-macos-action@v1-alpha
20+
- name: Set up Homebrew
21+
id: set-up-homebrew
22+
uses: Homebrew/actions/setup-homebrew@master
23+
- name: Fix Python conflicts between macOS runner and Homebrew
24+
run: |
25+
# see https://github.com/actions/setup-python/issues/577
26+
brew list -1 | grep python | while read formula; do brew unlink $formula; brew link --overwrite $formula; done
27+
- name: Install homebrew dependencies
28+
run: |
29+
set -x
30+
sudo chmod ugo+w /usr/local/bin
31+
brew install docker docker-compose lima
32+
- name: Install and start Colima
33+
run: |
34+
brew install colima
35+
colima version
36+
colima start --cpu 4 --memory 14 --arch x86_64
37+
colima restart
2238
- name: Install modules
2339
run: yarn
2440
# Uses https://oclif.io/

0 commit comments

Comments
 (0)