diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index bab9ec7cd..b790c51b1 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -27,7 +27,7 @@ jobs: go get -v -t -d ./... - name: Test - run: go test -race -coverprofile=coverage.txt -covermode=atomic ./... + run: go test -race -coverprofile=coverage.txt -covermode=atomic ./... | grep -v "[no test files]" - name: Codecov uses: codecov/codecov-action@v1.0.6 diff --git a/.golangci.yml b/.golangci.yml deleted file mode 100644 index 40c949329..000000000 --- a/.golangci.yml +++ /dev/null @@ -1,36 +0,0 @@ -run: - # concurrency: 6 - timeout: 5m - skip-dirs: - - core - - doc - - example - - rest - - rpcx - - tools - - -linters: - disable-all: true - enable: - - bodyclose - - deadcode - - errcheck - - gosimple - - govet - - ineffassign - - staticcheck - - structcheck - - typecheck - - unused - - varcheck -# - dupl - - -linters-settings: - -issues: - exclude-rules: - - linters: - - staticcheck - text: 'SA1019: (baseresponse.BoolResponse|oldresponse.FormatBadRequestResponse|oldresponse.FormatResponse)|SA5008: unknown JSON option ("optional"|"default=|"range=|"options=)'