Skip to content

Commit

Permalink
Add migrate support for Go
Browse files Browse the repository at this point in the history
  • Loading branch information
viralparmarme committed Sep 23, 2023
1 parent d46ff53 commit 23dbaf9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 23dbaf9

Please sign in to comment.