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 : Test
2+
3+ on :
4+ pull_request :
5+ push :
6+ branches :
7+ - master
8+
9+ jobs :
10+ test :
11+ name : Test
12+ runs-on : ubuntu-latest
13+ steps :
14+ - uses : actions/checkout@v2
15+ - uses : actions/setup-go@v2
16+ with :
17+ go-version : 1.16.x
18+ - name : Cache
19+ uses : actions/cache@v2
20+ with :
21+ path : |
22+ ~/go/bin
23+ ~/go/src
24+ ~/go/pkg/mod
25+ ~/.cache/go-build
26+ key : ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
27+ restore-keys : |
28+ ${{ runner.os }}-go-
29+ - run : go test -race -v ./...
30+ lint :
31+ name : Lint
32+ runs-on : ubuntu-latest
33+ steps :
34+ - uses : actions/checkout@v2
35+ - uses : golangci/golangci-lint-action@v2
Original file line number Diff line number Diff line change 11# httperroryzer
2+
3+ ![ Build status] ( https://github.com/orijtech/httperroryzer/actions/workflows/ci.yml/badge.svg?branch=main )
4+ [ ![ Go Reference] ( https://pkg.go.dev/badge/github.com/orijtech/httperroryzer.svg )] ( https://pkg.go.dev/github.com/orijtech/httperroryzer )
5+
26Static analyzer to catch invalid uses of http.Error without a return statement which can cause expected bugs
37
48## Example
You can’t perform that action at this time.
0 commit comments