From cc6b08463ee7ed02886c79c38d63ff01fc7d375e Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Mon, 16 Oct 2023 23:54:32 +0200 Subject: [PATCH] fixed the testcase --- .github/workflows/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0ce9f8e5..3ea31efd 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -35,9 +35,10 @@ jobs: cache-dependency-path: | server/go.sum - name: run migration - run: go run migrate.go + run: go run main.go working-directory: ./server env: + EXIT_AFTER_MIGRATION: "true" DB_DSN: root:super_secret_pa$$w0rd@tcp(db:3306)/campus_db?charset=utf8mb4&parseTime=True&loc=Local ENVIRONMENT: dev build: