Skip to content

Update dependency ubuntu to v24 #64

Update dependency ubuntu to v24

Update dependency ubuntu to v24 #64

Workflow file for this run

name: test
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:15
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/setup-go@v4
with:
go-version: 1.17.x
- name: Checkout code
uses: actions/[email protected]
- name: Test
run: |
go test ./... -coverprofile=profile.cov
- uses: shogo82148/[email protected]
with:
path-to-profile: profile.cov