Skip to content

Commit

Permalink
Merge pull request #1 from longbridgeapp/fix-ci
Browse files Browse the repository at this point in the history
Add PostgreSQL services for fix database test
  • Loading branch information
huacnlee authored Jan 17, 2022
2 parents d665e0d + 36d213f commit 79909b4
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 79909b4

Please sign in to comment.