Skip to content

feat: trace request duration #67

feat: trace request duration

feat: trace request duration #67

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
paths:
- 'server/**'
- 'go.mod'
jobs:
server:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.23'
- name: Download modules
run: go mod download
- name: Examine code
run: go vet ./...
- name: Install golangci-lint
run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.62.0
- name: Run golangci-lint
run: golangci-lint run ./...
- name: Run tests
run: go test ./...