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
parent
commit
7c8c356f71
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 8 additions and 2 deletions
  1. +1
    -1
      .github/workflows/lint.yaml
  2. +1
    -0
      blockchain/msgs_test.go
  3. +1
    -1
      consensus/replay.go
  4. +1
    -0
      evidence/reactor.go
  5. +1
    -0
      p2p/pex/addrbook.go
  6. +1
    -0
      state/validation_test.go
  7. +1
    -0
      types/block_meta_test.go
  8. +1
    -0
      types/evidence_test.go

+ 1
- 1
.github/workflows/lint.yaml View File

@ -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 != ''"

+ 1
- 0
blockchain/msgs_test.go View File

@ -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"
)


+ 1
- 1
consensus/replay.go View File

@ -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"


+ 1
- 0
evidence/reactor.go View File

@ -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"


+ 1
- 0
p2p/pex/addrbook.go View File

@ -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"


+ 1
- 0
state/validation_test.go View File

@ -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"


+ 1
- 0
types/block_meta_test.go View File

@ -4,6 +4,7 @@ import (
"testing"
"github.com/stretchr/testify/require"
"github.com/tendermint/tendermint/crypto/tmhash"
tmrand "github.com/tendermint/tendermint/libs/rand"
)


+ 1
- 0
types/evidence_test.go View File

@ -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"


Loading…
Cancel
Save