Skip to content

log: log unexpected error and ignore healthcheck #137

log: log unexpected error and ignore healthcheck

log: log unexpected error and ignore healthcheck #137

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
container-job:
runs-on: ubuntu-latest
services:
redis:
image: redis
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 6379:6379
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.22"
- name: Build
run: make build
- name: Test
run: make test
env:
REDIS_HOST: localhost
REDIS_PORT: 6379