File tree Expand file tree Collapse file tree 2 files changed +20
-7
lines changed
Expand file tree Collapse file tree 2 files changed +20
-7
lines changed Original file line number Diff line number Diff line change @@ -23,11 +23,13 @@ jobs:
2323 - name : Test
2424 run : make test
2525
26- - name : Upload coverage to Codecov
27- uses : codecov/codecov-action@v2
28- with :
29- files : ./coverage.txt
30- fail_ci_if_error : true
26+ # TODO: fix
27+ # - name: Upload coverage to Codecov
28+ # uses: codecov/codecov-action@v4
29+ # with:
30+ # files: ./coverage.txt
31+ # fail_ci_if_error: true
32+ # token: ${{ secrets.CODECOV_TOKEN }}
3133
3234 lint :
3335 name : lint
Original file line number Diff line number Diff line change @@ -14,10 +14,21 @@ GOLINT = $(GOPATH)/bin/golangci-lint
1414$(GOLINT ) :
1515 curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(GOPATH ) /bin v1.52.0
1616
17- .PHONY : lint
18- lint : $(GOLINT )
17+ NILAWAY = $(GOPATH ) /bin/nilaway
18+ $(NILAWAY ) :
19+ go install go.uber.org/nilaway/cmd/nilaway@latest
20+
21+ .PHONY : golint
22+ golint : $(GOLINT )
1923 $(GOLINT ) run
2024
25+ .PHONY : nilaway
26+ nilaway : $(NILAWAY )
27+ $(NILAWAY ) -include-pkgs=" github.com/vtopc/go-monobank" -test=false ./...
28+
29+ .PHONY : lint
30+ lint : golint nilaway
31+
2132.PHONY : update-api
2233update-api : # # Upgrade deps
2334 go get github.com/vtopc/go-rest
You can’t perform that action at this time.
0 commit comments