Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jmank88 committed Nov 28, 2023
1 parent b000b19 commit 6e82b85
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pull-request-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
use-go-cache: true
go-cache-dep-path: "**/go.sum"
go-version-file: go.mod
golangci-lint-version: "v1.53.2"
golangci-lint-version: "v1.55.2"
golangci-lint-args: --out-format colored-line-number,checkstyle:golangci-lint-report.xml ${{ needs.init.outputs.lint_args_packages }}

ci-lint-misc:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/push-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
use-go-cache: true
go-cache-dep-path: "**/go.sum"
go-version-file: go.mod
golangci-lint-version: "v1.53.2"
golangci-lint-version: "v1.55.2"
golangci-lint-args: --out-format colored-line-number,checkstyle:golangci-lint-report.xml ${{ needs.init.outputs.lint_args_packages }}

ci-test:
Expand Down
1 change: 1 addition & 0 deletions mercury/v1/mercury.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import (
"github.com/smartcontractkit/chainlink-common/pkg/logger"
mercurytypes "github.com/smartcontractkit/chainlink-common/pkg/types/mercury"
v1 "github.com/smartcontractkit/chainlink-common/pkg/types/mercury/v1"

"github.com/smartcontractkit/chainlink-llo/mercury"
)

Expand Down
7 changes: 4 additions & 3 deletions mercury/v1/mercury_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,14 @@ import (
"github.com/stretchr/testify/require"
"google.golang.org/protobuf/proto"

"github.com/smartcontractkit/libocr/commontypes"
"github.com/smartcontractkit/libocr/offchainreporting2plus/types"

"github.com/smartcontractkit/chainlink-common/pkg/logger"
mercurytypes "github.com/smartcontractkit/chainlink-common/pkg/types/mercury"
v1 "github.com/smartcontractkit/chainlink-common/pkg/types/mercury/v1"
"github.com/smartcontractkit/chainlink-llo/mercury"

"github.com/smartcontractkit/libocr/commontypes"
"github.com/smartcontractkit/libocr/offchainreporting2plus/types"
"github.com/smartcontractkit/chainlink-llo/mercury"
)

type testReportCodec struct {
Expand Down
3 changes: 2 additions & 1 deletion mercury/v1/observation.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ import (

"github.com/smartcontractkit/libocr/commontypes"

"github.com/smartcontractkit/chainlink-llo/mercury"
v1 "github.com/smartcontractkit/chainlink-common/pkg/types/mercury/v1"

"github.com/smartcontractkit/chainlink-llo/mercury"
)

type PAO interface {
Expand Down
3 changes: 2 additions & 1 deletion mercury/v1/validation.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ import (

"github.com/pkg/errors"

"github.com/smartcontractkit/chainlink-llo/mercury"
v1 "github.com/smartcontractkit/chainlink-common/pkg/types/mercury/v1"

"github.com/smartcontractkit/chainlink-llo/mercury"
)

// ValidateCurrentBlock sanity checks number and hash
Expand Down

0 comments on commit 6e82b85

Please sign in to comment.