Skip to content

chore(deps): update postgres docker tag to v16.3 #464

chore(deps): update postgres docker tag to v16.3

chore(deps): update postgres docker tag to v16.3 #464

Workflow file for this run

name: test
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:16
ports:
- 5432:5432
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: enter
POSTGRES_DB: postgres
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
env:
PGUSER: postgres
PGPASSWORD: enter
PGHOST: localhost
PGDATABASE: postgres
PGPORT: 5432
LOGLEVEL: debug
steps:
- name: Install Go
uses: actions/[email protected]
with:
go-version: 1.19
- name: Checkout code
uses: actions/[email protected]
- name: Test
run: |
go test -p 1 ./... -coverprofile=profile.cov
- uses: shogo82148/[email protected]
with:
path-to-profile: profile.cov