Skip to content

Commit

Permalink
fix: CI lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Lockwarr committed Oct 15, 2024
1 parent 52f4ad3 commit e0882d0
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/nolus-core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ jobs:
steps:
- uses: actions/setup-go@v5
with:
go-version: stable
go-version: 1.22
cache: false

- uses: actions/checkout@v4

Expand All @@ -111,7 +112,7 @@ jobs:
skip-cache: true

# Optional: The mode to install golangci-lint. It can be 'binary' or 'goinstall'.
# install-mode: "goinstall"
install-mode: "goinstall"

test-unit:
name: Run unit tests
Expand Down
6 changes: 6 additions & 0 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ output:
sort-results: true

issues:
exclude-rules:
- text: 'has no field or method'
linters:
- typecheck

# Maximum issues count per one linter.
# Set to 0 to disable.
# Default: 50
Expand All @@ -43,4 +48,5 @@ issues:
# Set to 0 to disable.
# Default: 3
max-same-issues: 0


4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,8 @@ replace (
github.com/cosmos/admin-module/v2 => github.com/neutron-org/admin-module/v2 v2.0.0

// cosmos-sdk-nolus fork adds --validate flag with default value 'true' on gov submit-proposal so we can validate the proposal on submission rather than directly on execution
// github.com/cosmos/cosmos-sdk => github.com/nolus-protocol/cosmos-sdk v0.50.7-nolus-rc1
github.com/cosmos/cosmos-sdk => /home/denislavivanov/go/github/cosmos-sdk
github.com/cosmos/cosmos-sdk => github.com/nolus-protocol/cosmos-sdk v0.50.7-nolus-rc1

// explicitely replace iavl to v1.2.0 cause sometimes go mod tidy uses not right version
github.com/cosmos/iavl => github.com/cosmos/iavl v1.2.0

Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -870,6 +870,8 @@ github.com/nats-io/nuid v1.0.1/go.mod h1:19wcPz3Ph3q0Jbyiqsd0kePYG7A95tJPxeL+1OS
github.com/neutron-org/admin-module/v2 v2.0.0 h1:MlkSc1821sQ+G5/cYOajuqZ5/lM53xTbixpTtXnHh0A=
github.com/neutron-org/admin-module/v2 v2.0.0/go.mod h1:RfOyabXsdJ5btcOKyKPZDYiZhtuKFubbJMOb8EJZtvA=
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno=
github.com/nolus-protocol/cosmos-sdk v0.50.7-nolus-rc1 h1:QK59L25el60UuVoosifSg3EVK+/n6urjln6yxNnxAI4=
github.com/nolus-protocol/cosmos-sdk v0.50.7-nolus-rc1/go.mod h1:84xDDJEHttRT7NDGwBaUOLVOMN0JNE9x7NbsYIxXs1s=
github.com/nolus-protocol/neutron/v4 v4.0.1-nolus h1:21r0fWxqjfaLHkPS/y/H1WDxytisOZ3xPsvp+JHa1jU=
github.com/nolus-protocol/neutron/v4 v4.0.1-nolus/go.mod h1:7TRawLFzMRs7sXuDd/R5VKHPUfNPDDMYaTcY2UjCqF0=
github.com/nolus-protocol/wasmd v0.53.0-nolus h1:RRWI+6dABBCEEowPNxlEHbHYeNHamUVXaop57PF6J2I=
Expand Down

0 comments on commit e0882d0

Please sign in to comment.