diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7f19887..768d48d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,3 @@ -# This workflow will build a golang project -# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go - name: ci-test on: @@ -10,7 +7,6 @@ on: branches: [ "master" ] jobs: - Test: runs-on: ubuntu-latest services: @@ -38,13 +34,13 @@ jobs: - uses: actions/checkout@v3 - name: Install golang-migrate - run: | - curl -L https://github.com/golang-migrate/migrate/releases/download/v4.16.2/migrate.linux-arm64.tar.gz | tar xvz - sudo mv migrate /usr/bin/migrate - which migrate + run: | + curl -L https://github.com/golang-migrate/migrate/releases/download/v4.14.1/migrate.linux-amd64.tar.gz | tar xvz + sudo mv migrate.linux-amd64 /usr/bin/migrate + which migrate - name: Run migrations - run : make migrateup + run: make migrateup - name: Test run: make test