Skip to content

Commit

Permalink
test 8
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-burghardt committed May 9, 2024
1 parent 815bace commit 4e6e7cb
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,10 @@ jobs:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:12-alpine
image: postgres:16-alpine
env:
POSTGRES_USER: postgres
POSTGRES_DB: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_HOST_AUTH_METHOD: trust
POSTGRES_DB: wallet-backend
PGHOST: localhost
options: >-
--health-cmd pg_isready
Expand All @@ -78,10 +77,7 @@ jobs:
env:
PGHOST: localhost
PGPORT: 5432
PGUSER: postgres
PGPASSWORD: postgres
PGDATABASE: postgres
DATABASE_URL: postgres://postgres:postgres@localhost:5432/postgres?sslmode=disable
DATABASE_URL: postgres://postgres@localhost:5432/wallet-backend?sslmode=disable

steps:
- name: Checkout
Expand All @@ -90,7 +86,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.22.1"
go-version: "1.22.2"

- name: Run Tests
run: go test -v -race -cover ./...

0 comments on commit 4e6e7cb

Please sign in to comment.