File tree 2 files changed +20
-7
lines changed
2 files changed +20
-7
lines changed Original file line number Diff line number Diff line change @@ -23,11 +23,13 @@ jobs:
23
23
- name : Test
24
24
run : make test
25
25
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 }}
31
33
32
34
lint :
33
35
name : lint
Original file line number Diff line number Diff line change @@ -14,10 +14,21 @@ GOLINT = $(GOPATH)/bin/golangci-lint
14
14
$(GOLINT ) :
15
15
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(GOPATH ) /bin v1.52.0
16
16
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 )
19
23
$(GOLINT ) run
20
24
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
+
21
32
.PHONY : update-api
22
33
update-api : # # Upgrade deps
23
34
go get github.com/vtopc/go-rest
You can’t perform that action at this time.
0 commit comments