Skip to content

Commit

Permalink
install golang-migrate
Browse files Browse the repository at this point in the history
  • Loading branch information
KuthumiPepple committed May 23, 2024
1 parent 8fc5b06 commit d80bfa3
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,16 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.22'
go-version: '1.22.0'

- name: Install golang-migrate
run: |
curl -L https://github.com/golang-migrate/migrate/releases/download/v4.17.1/migrate.linux-amd64.tar.gz | tar xvz
sudo mv migrate.linux-amd64 /usr/bin/
which migrate
- name: Run migrations
run: make migrateup

- name: Test
run: make test

0 comments on commit d80bfa3

Please sign in to comment.