From 23dbaf9eb44c42d4af2643b58c5e4248779acb34 Mon Sep 17 00:00:00 2001 From: Viral Parmar Date: Sat, 23 Sep 2023 14:24:07 +0530 Subject: [PATCH] Add migrate support for Go --- .github/workflows/ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d1ba2a0..af20e94 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,6 +34,12 @@ jobs: with: go-version: "1.21" + - name: Install Go Migrate + run: | + curl -L https://github.com/golang-migrate/migrate/releases/download/v4.16.2/migrate.linux-amd64.tar.gz | tar xvz + sudo mv migrate /usr/bin/migrate + which migrate + - name: Run migrations run: make migrateup