- Context fix without timer.
All checks were successful
CI / test (push) Successful in 5m21s

- Add godoc documentation.
This commit is contained in:
Кобелев Андрей Андреевич
2025-10-14 13:23:12 +05:00
parent 557fb40268
commit bac4f05437
4 changed files with 246 additions and 83 deletions

33
.gitea/workflows/ci.yml Normal file
View File

@@ -0,0 +1,33 @@
name: CI
on:
push:
branches:
- '**'
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
check-latest: true
- name: Go version
run: go version
- name: Vet
run: go vet ./...
- name: Test
run: go test -race ./...
- name: Bench (smoke)
run: go test -bench=. -run=^$ ./...