Skip to content

Add net/http based Healthcheck server #6

Add net/http based Healthcheck server

Add net/http based Healthcheck server #6

Workflow file for this run

name: 'Validate'
on:
pull_request:
branches:
- 'main'
jobs:
validate-lib:
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@v4
- name: 'Setup Go'
uses: actions/setup-go@v5
with:
go-version: 1.23
- name: 'Install dependencies'
run: go mod download
- name: 'Vet'
run: go vet
- name: 'Test'
run: go test -v
validate-http:
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@v4
- name: 'Setup Go'
uses: actions/setup-go@v5
with:
go-version: 1.23
- name: 'Switch to servers/http module'
run: cd ./servers/http
- name: 'Install dependencies'
run: go mod download
- name: 'Vet'
run: go vet
- name: 'Test'
run: go test -v