Skip to content

Commit 24070b0

Browse files
themantreJa7ad
andauthored
chore(deps): updating dependencies (#1601)
Co-authored-by: Javad Rajabzadeh <ja7ad@live.com>
1 parent 3677b2b commit 24070b0

12 files changed

+49
-89
lines changed

.github/workflows/coverage.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Install Go
1818
uses: actions/setup-go@v5
1919
with:
20-
go-version: '1.23.2'
20+
go-version: '1.23.3'
2121

2222
- name: Checkout code
2323
uses: actions/checkout@v4
@@ -26,6 +26,6 @@ jobs:
2626
run: go test -gcflags=-l -coverprofile=coverage.txt -covermode=atomic ./...
2727

2828
- name: Upload coverage report
29-
uses: codecov/codecov-action@v4
29+
uses: codecov/codecov-action@v5
3030
env:
3131
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/deadlock.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Install Go
1414
uses: actions/setup-go@v5
1515
with:
16-
go-version: '1.23.2'
16+
go-version: '1.23.3'
1717

1818
- name: Checkout code
1919
uses: actions/checkout@v4

.github/workflows/gui.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ jobs:
2424
- name: Install Go
2525
uses: actions/setup-go@v5
2626
with:
27-
go-version: '1.23.2'
27+
go-version: '1.23.3'
2828

2929
- name: Build the binary
3030
run: make build_gui
3131

3232
- name: Installing golangci-lint
33-
run: go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.61
33+
run: go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.62
3434

3535
- name: Lint check
3636
run: BUILD_TAG=gtk make check
@@ -47,7 +47,7 @@ jobs:
4747
- name: Install Go
4848
uses: actions/setup-go@v5
4949
with:
50-
go-version: '1.23.2'
50+
go-version: '1.23.3'
5151

5252
- name: Build the binary
5353
run: make build_gui

.github/workflows/linting.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ jobs:
1717
- name: Install Go
1818
uses: actions/setup-go@v5
1919
with:
20-
go-version: '1.23.2'
20+
go-version: '1.23.3'
2121

2222
- name: Checkout code
2323
uses: actions/checkout@v4
2424

2525
- name: Installing golangci-lint
26-
run: go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.61
26+
run: go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.62
2727

2828
- name: Formatting and linting the project
2929
run: make check

.github/workflows/releaser.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Install Go
2727
uses: actions/setup-go@v5
2828
with:
29-
go-version: '1.23.2'
29+
go-version: '1.23.3'
3030

3131
- name: Create release files
3232
run: bash ./.github/releasers/releaser_cli.sh
@@ -69,7 +69,7 @@ jobs:
6969
- name: Install Go
7070
uses: actions/setup-go@v5
7171
with:
72-
go-version: '1.23.2'
72+
go-version: '1.23.3'
7373

7474
- name: Create release files
7575
run: bash ./.github/releasers/releaser_gui_linux.sh
@@ -111,7 +111,7 @@ jobs:
111111
- name: Install Go
112112
uses: actions/setup-go@v5
113113
with:
114-
go-version: '1.23.2'
114+
go-version: '1.23.3'
115115

116116
- name: Create release files
117117
run: bash ./.github/releasers/releaser_gui_macos.sh
@@ -155,7 +155,7 @@ jobs:
155155
- name: Install Go
156156
uses: actions/setup-go@v5
157157
with:
158-
go-version: '1.23.2'
158+
go-version: '1.23.3'
159159

160160
- name: Create release files
161161
run: bash ./.github/releasers/releaser_gui_macos.sh
@@ -261,11 +261,11 @@ jobs:
261261
runs-on: ubuntu-latest
262262
steps:
263263
- name: Download SHA256SUMS artifact
264-
uses: actions/download-artifact@v3
264+
uses: actions/download-artifact@v4
265265
with:
266266
name: sha256sums
267267

268-
- uses: sigstore/cosign-installer@v3.7.0
268+
- uses: sigstore/cosign-installer@v3
269269

270270
- name: Sign Checksum
271271
run: cosign sign-blob --yes --key env://COSIGN_PRIVATE_KEY SHA256SUMS > SHA256SUMS.sig

.github/workflows/testing.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Install Go
2424
uses: actions/setup-go@v5
2525
with:
26-
go-version: '1.23.2'
26+
go-version: '1.23.3'
2727

2828
- name: Unit tests
2929
run: make unit_test

.golangci.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ linters:
2222
- copyloopvar
2323
- forbidigo
2424
- gci
25-
- ginkgolinter
2625
- gocheckcompilerdirectives
2726
- gocognit
2827
- gocritic
@@ -132,6 +131,9 @@ linters-settings:
132131
- name: "import-shadowing"
133132
disabled: true
134133

134+
- name: redefines-builtin-id
135+
disabled: true
136+
135137
- name: unhandled-error
136138
arguments:
137139
- "fmt.Printf"

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.23.2-alpine3.19 as builder
1+
FROM golang:1.23.3-alpine3.19 as builder
22

33
RUN apk add --no-cache git gmp-dev build-base g++ openssl-dev
44
ADD . /pactus

Makefile

+7-7
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,16 @@ all: build test
1414
### Tools needed for development
1515
devtools:
1616
@echo "Installing devtools"
17-
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.61
18-
go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway@v2.22
19-
go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2@v2.22
20-
go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.34
21-
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.4
17+
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.62
18+
go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway@v2.23
19+
go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2@v2.23
20+
go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.35
21+
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.5
2222
go install github.com/NathanBaulch/protoc-gen-cobra@v1.2
2323
go install github.com/pactus-project/protoc-gen-doc/cmd/protoc-gen-doc@v0.0.0-20240815105130-84e89d0170e4
24-
go install github.com/bufbuild/buf/cmd/buf@v1.42
24+
go install github.com/bufbuild/buf/cmd/buf@v1.47
2525
go install mvdan.cc/gofumpt@latest
26-
go install github.com/pacviewer/jrpc-gateway/protoc-gen-jrpc-gateway@v0.3.2
26+
go install github.com/pacviewer/jrpc-gateway/protoc-gen-jrpc-gateway@v0.5
2727

2828
########################################
2929
### Building

docs/update-dependensies.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,11 @@ First of all you need to update golang dependencies to latest version using this
1010
go get -u ./...
1111
go mod tidy
1212
```
13-
Once all packages got updated, make sure you run `make build`, `make test` and `make build_gui` commands to make sure
14-
none of previous behaviors are broken. If any packages had breaking changes or some of them are deprecated, you need to
15-
update the code and use new methods or use another package.
13+
14+
Once all packages got updated, make sure you run `make build`, `make test` and `make build_gui` commands to
15+
make sure none of previous behaviors are broken.
16+
If any packages had breaking changes or some of them are deprecated,
17+
you need to update the code and use new methods or use another package.
1618

1719
### Dev tools
1820

go.mod

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/pactus-project/pactus
22

3-
go 1.23.2
3+
go 1.23.3
44

55
require (
66
github.com/NathanBaulch/protoc-gen-cobra v1.2.1
@@ -21,7 +21,7 @@ require (
2121
github.com/k0kubun/go-ansi v0.0.0-20180517002512-3bf9e2903213
2222
github.com/kilic/bls12-381 v0.1.0
2323
github.com/libp2p/go-libp2p v0.37.0
24-
github.com/libp2p/go-libp2p-kad-dht v0.27.0
24+
github.com/libp2p/go-libp2p-kad-dht v0.28.1
2525
github.com/libp2p/go-libp2p-pubsub v0.12.0
2626
github.com/manifoldco/promptui v0.9.0
2727
github.com/multiformats/go-multiaddr v0.14.0
@@ -41,7 +41,7 @@ require (
4141
golang.org/x/exp v0.0.0-20241108190413-2d47ceb2692f
4242
golang.org/x/term v0.26.0
4343
google.golang.org/grpc v1.68.0
44-
google.golang.org/protobuf v1.35.1
44+
google.golang.org/protobuf v1.35.2
4545
gopkg.in/natefinch/lumberjack.v2 v2.2.1
4646
)
4747

@@ -124,7 +124,7 @@ require (
124124
github.com/multiformats/go-multibase v0.2.0 // indirect
125125
github.com/multiformats/go-multicodec v0.9.0 // indirect
126126
github.com/multiformats/go-multihash v0.2.3 // indirect
127-
github.com/multiformats/go-multistream v0.5.0 // indirect
127+
github.com/multiformats/go-multistream v0.6.0 // indirect
128128
github.com/multiformats/go-varint v0.0.7 // indirect
129129
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
130130
github.com/onsi/ginkgo/v2 v2.21.0 // indirect
@@ -178,8 +178,8 @@ require (
178178
golang.org/x/text v0.20.0 // indirect
179179
golang.org/x/tools v0.27.0 // indirect
180180
gonum.org/v1/gonum v0.15.1 // indirect
181-
google.golang.org/genproto/googleapis/api v0.0.0-20241104194629-dd2ea8efbc28 // indirect
182-
google.golang.org/genproto/googleapis/rpc v0.0.0-20241104194629-dd2ea8efbc28 // indirect
181+
google.golang.org/genproto/googleapis/api v0.0.0-20241113202542-65e8d215514f // indirect
182+
google.golang.org/genproto/googleapis/rpc v0.0.0-20241113202542-65e8d215514f // indirect
183183
gopkg.in/yaml.v3 v3.0.1 // indirect
184184
lukechampine.com/blake3 v1.3.0 // indirect
185185
rsc.io/tmplfunc v0.0.3 // indirect

0 commit comments

Comments
 (0)