Skip to content

Commit d1fbc97

Browse files
authored
Merge pull request #6174 from Algo-devops-service/relbeta3.27.0
2 parents c0aea8a + 33bad5b commit d1fbc97

File tree

133 files changed

+3940
-2232
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

133 files changed

+3940
-2232
lines changed

.github/workflows/benchmarks.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- uses: actions/checkout@v4
21-
- uses: actions/setup-go@v4.0.1
21+
- uses: actions/setup-go@v5
2222
with:
2323
go-version-file: 'go.mod'
2424
- run: go version

.github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
id: go_version
2525
run: echo "GO_VERSION=$(./scripts/get_golang_version.sh)" >> $GITHUB_ENV
2626
- name: Install golang
27-
uses: actions/setup-go@v4.0.1
27+
uses: actions/setup-go@v5
2828
with:
2929
go-version: ${{ env.GO_VERSION }}
3030
- name: Restore libsodium from cache

.github/workflows/reviewdog.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717
- name: Make libsodium.a
1818
run: sudo mv /usr/bin/go /usr/bin/go.bak && make crypto/libs/linux/amd64/lib/libsodium.a && sudo mv /usr/bin/go.bak /usr/bin/go
1919
- name: reviewdog-golangci-lint
20-
uses: reviewdog/[email protected].1
20+
uses: reviewdog/[email protected].2
2121
with:
2222
go_version_file: go.mod
23-
golangci_lint_version: "v1.58.0"
23+
golangci_lint_version: "v1.62.0"
2424
golangci_lint_flags: "-c .golangci.yml --allow-parallel-runners"
2525
reporter: "github-pr-check"
2626
tool_name: "Lint Errors"
@@ -46,7 +46,7 @@ jobs:
4646
id: go_version
4747
run: echo "GO_VERSION=$(./scripts/get_golang_version.sh)" >> $GITHUB_ENV
4848
- name: Install specific golang
49-
uses: actions/setup-go@v4.0.1
49+
uses: actions/setup-go@v5
5050
with:
5151
go-version: ${{ env.GO_VERSION }}
5252
- name: Create folders for golangci-lint
@@ -63,13 +63,13 @@ jobs:
6363
run: |
6464
cd cicdtmp/golangci-lint
6565
git clone https://github.com/golangci/golangci-lint.git .
66-
git checkout tags/v1.58.0
66+
git checkout tags/v1.62.0
6767
CGO_ENABLED=true go build -trimpath -o golangci-lint-cgo ./cmd/golangci-lint
6868
./golangci-lint-cgo --version
6969
cd ../../
7070
- name: Install reviewdog
7171
run: |
72-
curl -sfL https://raw.githubusercontent.com/reviewdog/reviewdog/v0.18.1/install.sh | sh -s -- v0.18.1
72+
curl -sfL https://raw.githubusercontent.com/reviewdog/reviewdog/v0.20.2/install.sh | sh -s -- v0.20.2
7373
reviewdog --version
7474
- name: Build custom linters
7575
run: |

.github/workflows/tools.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
id: go_version
2929
run: echo "GO_VERSION=$(./scripts/get_golang_version.sh)" >> $GITHUB_ENV
3030
- name: Install go version
31-
uses: actions/setup-go@v4.0.1
31+
uses: actions/setup-go@v5
3232
with:
3333
go-version: ${{ env.GO_VERSION }}
3434
- name: Test tools/block-generator

.golangci-warnings.yml

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ linters:
77
enable:
88
- gosec
99
- partitiontest
10-
- unused
1110

1211
linters-settings:
1312
gosec: # we are mostly only interested in G601

.golangci.yml

+12-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ linters:
77
disable-all: true
88
enable:
99
- errcheck
10-
- exportloopref
10+
- copyloopvar
1111
- gofmt
1212
- gosimple
1313
- govet
@@ -19,6 +19,7 @@ linters:
1919
- staticcheck
2020
- typecheck
2121
- paralleltest
22+
- unused
2223

2324
severity:
2425
default-severity: error
@@ -115,10 +116,17 @@ issues:
115116
- "^superfluous-else: if block ends with"
116117

117118
exclude-rules:
119+
- path: cmd/algofix/
120+
linters: unused
121+
- path: cmd/algocfg/
122+
linters: unused
123+
- path: cmd/catchpointdump/
124+
linters: unused
125+
- path: tools/
126+
linters: unused
118127
- path: _test\.go
119128
linters:
120129
- errcheck
121-
# - exportloopref
122130
# - gofmt
123131
- gosimple
124132
# - govet
@@ -129,6 +137,7 @@ issues:
129137
# - revive
130138
# - staticcheck
131139
- typecheck
140+
- unused
132141
- path: _test\.go
133142
linters:
134143
- staticcheck
@@ -206,3 +215,4 @@ issues:
206215
- govet
207216
- ineffassign
208217
- misspell
218+
- unused

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM ubuntu:20.04 as builder
22

3-
ARG GO_VERSION="1.21.10"
3+
ARG GO_VERSION="1.23.3"
44

55
ARG CHANNEL
66
ARG URL

0 commit comments

Comments
 (0)