Skip to content

feat: handle timeout when shutting down http server #104

feat: handle timeout when shutting down http server

feat: handle timeout when shutting down http server #104

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@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: "1.21"
- name: Build
run: make build
- name: Test
run: make test
env:
REDIS_HOST: localhost
REDIS_PORT: 6379