diff --git a/.github/workflows/golang-ci.yaml b/.github/workflows/golang-ci.yaml index 0484151..26daf00 100644 --- a/.github/workflows/golang-ci.yaml +++ b/.github/workflows/golang-ci.yaml @@ -61,8 +61,9 @@ jobs: - name: Run integration test working-directory: .data/MyGolangApp run: | - go run main.go 2>&1 & - sleep 5 + go build main.go + ./main & + sleep 1 curl --connect-timeout 10 http://0.0.0.0:8080