Browse Source
ci: version linter fix (#5128)
## Description
linter version fix and run make format to have all ci run
Closes: #XXX
pull/5130/head
Marko
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with
8 additions and
2 deletions
-
.github/workflows/lint.yaml
-
blockchain/msgs_test.go
-
consensus/replay.go
-
evidence/reactor.go
-
p2p/pex/addrbook.go
-
state/validation_test.go
-
types/block_meta_test.go
-
types/evidence_test.go
|
|
@ -23,7 +23,7 @@ jobs: |
|
|
|
- uses: golangci/golangci-lint-action@master |
|
|
|
with: |
|
|
|
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version. |
|
|
|
version: v1.28.3 |
|
|
|
version: v1.28 |
|
|
|
args: --timeout 10m |
|
|
|
github-token: ${{ secrets.github_token }} |
|
|
|
if: "env.GIT_DIFF != ''" |
|
|
@ -7,6 +7,7 @@ import ( |
|
|
|
"github.com/gogo/protobuf/proto" |
|
|
|
"github.com/stretchr/testify/assert" |
|
|
|
"github.com/stretchr/testify/require" |
|
|
|
|
|
|
|
bcproto "github.com/tendermint/tendermint/proto/tendermint/blockchain" |
|
|
|
"github.com/tendermint/tendermint/types" |
|
|
|
) |
|
|
|
|
|
@ -8,9 +8,9 @@ import ( |
|
|
|
"reflect" |
|
|
|
"time" |
|
|
|
|
|
|
|
abci "github.com/tendermint/tendermint/abci/types" |
|
|
|
dbm "github.com/tendermint/tm-db" |
|
|
|
|
|
|
|
abci "github.com/tendermint/tendermint/abci/types" |
|
|
|
"github.com/tendermint/tendermint/libs/log" |
|
|
|
"github.com/tendermint/tendermint/proxy" |
|
|
|
sm "github.com/tendermint/tendermint/state" |
|
|
|
|
|
@ -5,6 +5,7 @@ import ( |
|
|
|
"time" |
|
|
|
|
|
|
|
"github.com/gogo/protobuf/proto" |
|
|
|
|
|
|
|
clist "github.com/tendermint/tendermint/libs/clist" |
|
|
|
"github.com/tendermint/tendermint/libs/log" |
|
|
|
"github.com/tendermint/tendermint/p2p" |
|
|
|
|
|
@ -15,6 +15,7 @@ import ( |
|
|
|
"time" |
|
|
|
|
|
|
|
"github.com/minio/highwayhash" |
|
|
|
|
|
|
|
"github.com/tendermint/tendermint/crypto" |
|
|
|
tmmath "github.com/tendermint/tendermint/libs/math" |
|
|
|
tmrand "github.com/tendermint/tendermint/libs/rand" |
|
|
|
|
|
@ -6,6 +6,7 @@ import ( |
|
|
|
|
|
|
|
"github.com/stretchr/testify/assert" |
|
|
|
"github.com/stretchr/testify/require" |
|
|
|
|
|
|
|
"github.com/tendermint/tendermint/crypto" |
|
|
|
"github.com/tendermint/tendermint/libs/bytes" |
|
|
|
"github.com/tendermint/tendermint/proto/tendermint/version" |
|
|
|
|
|
@ -4,6 +4,7 @@ import ( |
|
|
|
"testing" |
|
|
|
|
|
|
|
"github.com/stretchr/testify/require" |
|
|
|
|
|
|
|
"github.com/tendermint/tendermint/crypto/tmhash" |
|
|
|
tmrand "github.com/tendermint/tendermint/libs/rand" |
|
|
|
) |
|
|
|
|
|
@ -7,6 +7,7 @@ import ( |
|
|
|
|
|
|
|
"github.com/stretchr/testify/assert" |
|
|
|
"github.com/stretchr/testify/require" |
|
|
|
|
|
|
|
"github.com/tendermint/tendermint/crypto" |
|
|
|
"github.com/tendermint/tendermint/crypto/ed25519" |
|
|
|
"github.com/tendermint/tendermint/crypto/tmhash" |
|
|
|