Skip to content

fix(internal/http): error deadline exceeded yields 503 #68

fix(internal/http): error deadline exceeded yields 503

fix(internal/http): error deadline exceeded yields 503 #68

Workflow file for this run

name: Go
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.21.5
- name: Go Mod
run: go mod download
- name: Go Format
run: gofmt -s -w . && git diff --exit-code
- name: Go Tidy
run: go mod tidy && git diff --exit-code
# TODO: Add a propper vetting step go vet ./...
- name: Go Vet
run: go vet
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.55.2
- name: Go staticcheck
uses: dominikh/[email protected]
with:
version: "2023.1"
install-go: false
- name: Go Build
run: go build -v ./...
- name: Go Test
run: go test -race -shuffle=on -coverprofile=coverage.txt -v -cover ./...
# TODO: Add test coverage.