7575 - name : Build statesman binary
7676 working-directory : taco
7777 run : |
78- go build -o statesman ./cmd/statesman
78+ CGO_ENABLED=1 go build -o statesman ./cmd/statesman
7979
8080 - name : Test statesman starts successfully
8181 working-directory : taco
@@ -103,7 +103,7 @@ jobs:
103103 working-directory : taco
104104 run : |
105105 # Check if statesman started successfully
106- if grep -i "server listening\|starting.*server" statesman.log; then
106+ if grep -i "server started\|server listening\|starting.*server" statesman.log; then
107107 echo "✅ Postgres: Statesman started successfully after migrations"
108108 else
109109 echo "❌ Statesman did not start successfully"
@@ -167,7 +167,7 @@ jobs:
167167 - name : Build statesman binary
168168 working-directory : taco
169169 run : |
170- go build -o statesman ./cmd/statesman
170+ CGO_ENABLED=1 go build -o statesman ./cmd/statesman
171171
172172 - name : Test statesman starts successfully
173173 working-directory : taco
@@ -195,7 +195,7 @@ jobs:
195195 working-directory : taco
196196 run : |
197197 # Check if statesman started successfully
198- if grep -i "server listening\|starting.*server" statesman.log; then
198+ if grep -i "server started\|server listening\|starting.*server" statesman.log; then
199199 echo "✅ MySQL: Statesman started successfully after migrations"
200200 else
201201 echo "❌ Statesman did not start successfully"
@@ -241,7 +241,7 @@ jobs:
241241 - name : Build statesman binary
242242 working-directory : taco
243243 run : |
244- go build -o statesman ./cmd/statesman
244+ CGO_ENABLED=1 go build -o statesman ./cmd/statesman
245245
246246 - name : Test statesman starts successfully
247247 working-directory : taco
@@ -264,7 +264,7 @@ jobs:
264264 working-directory : taco
265265 run : |
266266 # Check if statesman started successfully
267- if grep -i "server listening\|starting.*server" statesman.log; then
267+ if grep -i "server started\|server listening\|starting.*server" statesman.log; then
268268 echo "✅ SQLite: Statesman started successfully after migrations"
269269 else
270270 echo "❌ Statesman did not start successfully"
0 commit comments