Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/social-roses-attend.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@smartcontractkit/mcms": minor
---

bump go version to 1.26.2
4 changes: 2 additions & 2 deletions .github/workflows/pull-request-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Linting Go
uses: smartcontractkit/.github/actions/ci-lint-go@85085f8c650468409773440bc867a7b3642ccc9b # ci-lint-go@4.0.0
with:
golangci-lint-version: v2.6.2
golangci-lint-version: v2.12.2
use-go-cache: true
only-new-issues: false
golangci-lint-config: .golangci.yml
Expand All @@ -34,7 +34,7 @@ jobs:
- name: Linting Go
uses: smartcontractkit/.github/actions/ci-lint-go@85085f8c650468409773440bc867a7b3642ccc9b # ci-lint-go@4.0.0
with:
golangci-lint-version: v2.6.2
golangci-lint-version: v2.12.2
golangci-lint-args: --build-tags="e2e"
use-go-cache: true
only-new-issues: false
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/push-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Linting Go
uses: smartcontractkit/.github/actions/ci-lint-go@85085f8c650468409773440bc867a7b3642ccc9b # ci-lint-go@4.0.0
with:
golangci-lint-version: v2.6.2
golangci-lint-version: v2.12.2
use-go-cache: true
only-new-issues: false
golangci-lint-config: .golangci.yml
Expand All @@ -33,7 +33,7 @@ jobs:
- name: Linting Go
uses: smartcontractkit/.github/actions/ci-lint-go@85085f8c650468409773440bc867a7b3642ccc9b # ci-lint-go@4.0.0
with:
golangci-lint-version: v2.6.2
golangci-lint-version: v2.12.2
golangci-lint-args: --build-tags="e2e"
use-go-cache: true
only-new-issues: false
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/push-tag-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: ci-lint
uses: smartcontractkit/.github/actions/ci-lint-go@85085f8c650468409773440bc867a7b3642ccc9b # ci-lint-go@4.0.0
with:
golangci-lint-version: v2.6.2
golangci-lint-version: v2.12.2
golangci-lint-config: .golangci.yml

ci-lint-e2e:
Expand All @@ -30,7 +30,7 @@ jobs:
- name: Linting Go
uses: smartcontractkit/.github/actions/ci-lint-go@85085f8c650468409773440bc867a7b3642ccc9b # ci-lint-go@4.0.0
with:
golangci-lint-version: v2.6.2
golangci-lint-version: v2.12.2
golangci-lint-args: --build-tags="e2e"
golangci-lint-config: .golangci.yml

Expand Down
5 changes: 5 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,15 @@ linters:
- linters:
- unparam
path: _test\.go
- linters:
- goconst
path: _test\.go
- linters:
- gosec
- goconst
- mnd
- paralleltest
- prealloc
path: ^e2e/
paths:
- sdk/evm/bindings
Expand Down
4 changes: 2 additions & 2 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
golang 1.25.3
golangci-lint 2.6.2
golang 1.26.2
golangci-lint 2.12.2
mockery 2.53.5
nodejs 20.16.0
pnpm 9.6.0
Expand Down
2 changes: 1 addition & 1 deletion builder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ func TestProposalBuilder(t *testing.T) {
if errors.As(err, &errs) {
assert.Len(t, errs, len(tt.wantErrs))

got := []string{}
got := make([]string, 0, len(errs))
for _, e := range errs {
got = append(got, e.Error())
}
Expand Down
1 change: 0 additions & 1 deletion e2e/tests/common/signing.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//go:build e2e

//nolint:revive
package common

import (
Expand Down
17 changes: 7 additions & 10 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/smartcontractkit/mcms

go 1.25.7
go 1.26.2

//nolint:gomoddirectives // allow replace directive
replace github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.3-alpha.regen.1
Expand Down Expand Up @@ -130,7 +130,7 @@ require (
github.com/grpc-ecosystem/grpc-gateway/v2 v2.28.0 // indirect
github.com/hashicorp/go-bexpr v0.1.10 // indirect
github.com/hashicorp/go-hclog v1.6.3 // indirect
github.com/hashicorp/go-plugin v1.7.0 // indirect
github.com/hashicorp/go-plugin v1.8.0 // indirect
github.com/hashicorp/yamux v0.1.2 // indirect
github.com/hasura/go-graphql-client v0.15.1 // indirect
github.com/hdevalence/ed25519consensus v0.2.0 // indirect
Expand All @@ -139,14 +139,10 @@ require (
github.com/holiman/uint256 v1.3.2 // indirect
github.com/huin/goupnp v1.3.0 // indirect
github.com/invopop/jsonschema v0.13.0 // indirect
github.com/jackc/chunkreader/v2 v2.0.1 // indirect
github.com/jackc/pgconn v1.14.3 // indirect
github.com/jackc/pgio v1.0.0 // indirect
github.com/jackc/pgpassfile v1.0.0 // indirect
github.com/jackc/pgproto3/v2 v2.3.3 // indirect
github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 // indirect
github.com/jackc/pgtype v1.14.4 // indirect
github.com/jackc/pgx/v4 v4.18.3 // indirect
github.com/jackc/pgx/v5 v5.9.2 // indirect
github.com/jackc/puddle/v2 v2.2.2 // indirect
github.com/jackpal/go-nat-pmp v1.0.2 // indirect
github.com/jinzhu/copier v0.4.0 // indirect
github.com/jmoiron/sqlx v1.4.0 // indirect
Expand Down Expand Up @@ -214,9 +210,9 @@ require (
github.com/shopspring/decimal v1.4.0 // indirect
github.com/sigurn/crc16 v0.0.0-20211026045750-20ab5afb07e3 // indirect
github.com/sirupsen/logrus v1.9.3 // indirect
github.com/smartcontractkit/chainlink-common v0.11.2-0.20260406055916-9aa6b6c0ae81 // indirect
github.com/smartcontractkit/chainlink-common v0.11.2-0.20260506120607-7f10be016c89 // indirect
github.com/smartcontractkit/chainlink-common/pkg/chipingress v0.0.10 // indirect
github.com/smartcontractkit/chainlink-protos/cre/go v0.0.0-20260326111235-8c09d1a4491f // indirect
github.com/smartcontractkit/chainlink-protos/cre/go v0.0.0-20260505131349-78e491b80735 // indirect
github.com/smartcontractkit/chainlink-protos/linking-service/go v0.0.0-20251002192024-d2ad9222409b // indirect
github.com/smartcontractkit/chainlink-protos/node-platform v0.0.0-20260205130626-db2a2aab956b // indirect
github.com/smartcontractkit/grpc-proxy v0.0.0-20240830132753-a7e17fec5ab7 // indirect
Expand Down Expand Up @@ -263,6 +259,7 @@ require (
go.opentelemetry.io/otel/sdk/metric v1.43.0 // indirect
go.opentelemetry.io/otel/trace v1.43.0 // indirect
go.opentelemetry.io/proto/otlp v1.10.0 // indirect
go.uber.org/goleak v1.3.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
go.uber.org/ratelimit v0.3.1 // indirect
go.yaml.in/yaml/v2 v2.4.2 // indirect
Expand Down
Loading
Loading