diff --git a/.github/workflows/ci-test.yml b/.github/workflows/ci-test.yml index 27d6484..7bd4270 100644 --- a/.github/workflows/ci-test.yml +++ b/.github/workflows/ci-test.yml @@ -34,8 +34,9 @@ jobs: go-version: ${{ matrix.go }} - 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 - sudo mv migrate.linux-amd64 /usr/bin/ + 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 - 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