diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 714aaf7..3f2e0d6 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -4,13 +4,20 @@ jobs: build: name: Build runs-on: ubuntu-latest + env: + DATABASE_URL: postgres://localhost:5432/sharding-test steps: - - name: Set up Go 1.13 + - name: Set up Go uses: actions/setup-go@v1 with: - go-version: 1.13 + go-version: 1.17 id: go + - uses: ankane/setup-postgres@v1 + with: + postgres-version: ${{ matrix.postgres }} + - run: createdb sharding-test + - name: Check out code into the Go module directory uses: actions/checkout@v1