Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
afurgapil committed Jun 22, 2024
1 parent 4270ad5 commit e35f1c6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,14 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: "^1.22.2"
go-version: "^1.16"

- name: Install golang-migrate
run: |
go get -u -d github.com/golang-migrate/migrate/cmd/migrate
cd $GOPATH/pkg/mod/github.com/golang-migrate/migrate@v4.12.2/cmd/migrate
go build -tags 'postgres' -ldflags="-X main.Version=$(git describe --tags)" -o $GOPATH/bin/migrate .
cd $GOPATH/src/github.com/golang-migrate/migrate/cmd/migrate
git checkout $TAG
go install -tags 'postgres' github.com/golang-migrate/migrate/v4/cmd/migrate@$TAG
- name: Start PostgreSQL and wait for connection
run: |
Expand Down

0 comments on commit e35f1c6

Please sign in to comment.