From be0f7f7804b8cb1b13fdfe711eae8d5b9f999f92 Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Sun, 22 Oct 2023 13:27:34 +0200 Subject: [PATCH] tested different config --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e183017c..131594a0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -35,11 +35,11 @@ jobs: cache-dependency-path: | server/go.sum - name: run migration - run: docker ps -a && sleep 30 && docker logs $(docker ps -qa) && go run main.go + run: sleep 20 && docker logs $(docker ps -qa) && go run main.go working-directory: ./server env: EXIT_AFTER_MIGRATION: "true" - DB_DSN: root:super_secret_passw0rd@tcp(mariadb:3306)/campus_db?charset=utf8mb4&parseTime=True&loc=Local + DB_DSN: root:super_secret_passw0rd@tcp(localhost:3306)/campus_db?charset=utf8mb4&parseTime=True&loc=Local ENVIRONMENT: dev build: runs-on: ubuntu-latest