File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches : [main]
6+ pull_request :
7+ branches : [main]
8+
9+ jobs :
10+ test :
11+ runs-on : ubuntu-latest
12+ strategy :
13+ matrix :
14+ go-version : ['1.25']
15+
16+ steps :
17+ - uses : actions/checkout@v4
18+
19+ - name : Set up Go
20+ uses : actions/setup-go@v5
21+ with :
22+ go-version : ${{ matrix.go-version }}
23+
24+ - name : Run tests
25+ run : go test -race -coverprofile=coverage.out -covermode=atomic ./...
26+
27+ - name : Upload coverage to Codecov
28+ uses : codecov/codecov-action@v5
29+ with :
30+ files : coverage.out
31+ token : ${{ secrets.CODECOV_TOKEN }}
32+
33+ lint :
34+ runs-on : ubuntu-latest
35+ steps :
36+ - uses : actions/checkout@v4
37+
38+ - name : Set up Go
39+ uses : actions/setup-go@v5
40+ with :
41+ go-version : ' 1.25'
42+
43+ - name : golangci-lint
44+ uses : golangci/golangci-lint-action@v6
45+ with :
46+ version : latest
Original file line number Diff line number Diff line change 11# maxigo-client
22
3- Idiomatic Go HTTP client for [ Max Bot API] ( https://dev.max.ru ) (OpenAPI schema v0.0.10). Zero external dependencies.
3+ [ ![ Go Reference] ( https://pkg.go.dev/badge/github.com/maxigo-bot/maxigo-client.svg )] ( https://pkg.go.dev/github.com/maxigo-bot/maxigo-client )
4+ [ ![ Go Report Card] ( https://goreportcard.com/badge/github.com/maxigo-bot/maxigo-client )] ( https://goreportcard.com/report/github.com/maxigo-bot/maxigo-client )
5+ [ ![ CI] ( https://github.com/maxigo-bot/maxigo-client/actions/workflows/ci.yml/badge.svg )] ( https://github.com/maxigo-bot/maxigo-client/actions/workflows/ci.yml )
6+ [ ![ codecov] ( https://codecov.io/gh/maxigo-bot/maxigo-client/branch/main/graph/badge.svg )] ( https://codecov.io/gh/maxigo-bot/maxigo-client )
7+ [ ![ License: MIT] ( https://img.shields.io/badge/License-MIT-yellow.svg )] ( https://opensource.org/licenses/MIT )
8+ [ ![ Go Version] ( https://img.shields.io/github/go-mod/go-version/maxigo-bot/maxigo-client )] ( https://github.com/maxigo-bot/maxigo-client )
9+
10+ Idiomatic Go HTTP client for [ Max Bot API] ( https://dev.max.ru ) (OpenAPI schema v0.0.10). Zero external dependencies.
411
512## Why This Project?
613
You can’t perform that action at this time.
0 commit comments