Skip to content

Commit 70592d6

Browse files
committed
Fix 'docker: command not found' in test-cross-platform job by adding Docker setup
1 parent d5c3560 commit 70592d6

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

.github/workflows/test-on-push.yml

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,22 @@ jobs:
5151
- name: Check out repository code
5252
uses: actions/checkout@v2
5353

54+
- name: Set up QEMU
55+
uses: docker/setup-qemu-action@v3
56+
if: runner.os == 'macOS'
57+
58+
- name: Set up Docker Buildx
59+
uses: docker/setup-buildx-action@v3
60+
5461
- name: Install dependencies (macOS)
5562
if: runner.os == 'macOS'
5663
run: |
5764
brew install shellcheck yamllint
5865
npm install -g npm@latest
5966
67+
- name: Verify Docker
68+
run: docker --version
69+
6070
- name: Build Fablo
6171
run: |
6272
shellcheck --version && \
@@ -70,8 +80,16 @@ jobs:
7080

7181
- name: Lint
7282
run: npm run lint
73-
74-
83+
84+
- name: Upload artifacts
85+
uses: actions/upload-artifact@v4
86+
if: always()
87+
with:
88+
name: test-cross-platform-${{ matrix.os }}
89+
path: |
90+
*.log
91+
fablo-target/**/*
92+
7593
# test-k8:
7694
# needs: test-main
7795
# runs-on: ubuntu-latest

0 commit comments

Comments
 (0)