Skip to content

update dep, do not panic but log (#93) #52

update dep, do not panic but log (#93)

update dep, do not panic but log (#93) #52

Workflow file for this run

name: Test
on:
push:
pull_request:
jobs:
runner-job:
runs-on: ubuntu-latest
services:
postgres:
image: postgres
env:
POSTGRES_PASSWORD: postgres
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432:5432
redis:
image: redis
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 6379:6379
strategy:
matrix:
go: ['1.22']
name: Go ${{ matrix.go }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}
- run: go get -t -v ./...
- run: go test -race -coverprofile=coverage.txt -covermode=atomic ./...
env:
POSTGRES_PORT: 5432
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
- uses: codecov/codecov-action@v1