From 3eb759f5824ca9b786d03ba85b35979b7e66b446 Mon Sep 17 00:00:00 2001 From: emirot Date: Fri, 4 Mar 2022 21:50:17 -0800 Subject: [PATCH] chore: ci --- .github/workflows/ci-test.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci-test.yml b/.github/workflows/ci-test.yml index 7bd4270..8e04f74 100644 --- a/.github/workflows/ci-test.yml +++ b/.github/workflows/ci-test.yml @@ -35,8 +35,7 @@ jobs: - name: Install go migrate run: | curl -L https://github.com/golang-migrate/migrate/releases/download/v4.15.1/migrate.linux-amd64.tar.gz | tar xvz; - ls - sudo mv migrate.linux-amd64 /usr/bin/migrate + sudo mv migrate /usr/bin/migrate - name: Run migration run: migrate -path db/migration -database "postgresql://root:test@localhost:5432/sqljson?sslmode=disable" -verbose up - run: go test -v ./... \ No newline at end of file