chore(deps): update golang docker tag to v1.23.2 #515
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.22" | |
- 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 |