Skip to content

chore(deps): update actions/setup-go action to v5.1.0 #525

chore(deps): update actions/setup-go action to v5.1.0

chore(deps): update actions/setup-go action to v5.1.0 #525

Workflow file for this run

name: test
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:17
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