build/linters: Bump Go to v1.25 and golangci-lint to v2.4.0 (#2005)

* build/linters: Bump Go to v1.25 and golangci-lint to v2.4.0

* refactor: Update TODO comments for net.Listen and net.DialTimeout; improve variable naming in websocket and exchange methods

* refactor: Rename massageMissingData to backfillMissingData for clarity and update references in RSI and MFI calculations

* fix: Correct typo in TODO comment for net.Listen in RPC server
This commit is contained in:
Adrian Gallagher
2025-08-20 11:55:15 +10:00
committed by GitHub
parent 7879633c4a
commit 7ebc392532
63 changed files with 498 additions and 647 deletions

View File

@@ -1,4 +1,4 @@
FROM golang:1.24-alpine
FROM golang:1.25-alpine
# Install GCC and musl-dev (needed for SQLite library)
RUN apk add --no-cache gcc musl-dev

View File

@@ -1,7 +1,7 @@
name: configs-versions-lint
on: [push, pull_request]
env:
GO_VERSION: 1.24.x
GO_VERSION: 1.25.x
jobs:
lint:
name: config versions lint

View File

@@ -8,8 +8,8 @@ jobs:
- uses: actions/checkout@v5
- uses: actions/setup-go@v5
with:
go-version: '1.24.x'
go-version: '1.25.x'
- name: golangci-lint
uses: golangci/golangci-lint-action@v8
with:
version: v2.1.6
version: v2.4.0

View File

@@ -12,7 +12,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 1.24.x
go-version: 1.25.x
- name: Setup build depends
run: |

View File

@@ -1,7 +1,7 @@
on: [push, pull_request]
name: CI
env:
GO_VERSION: 1.24.x
GO_VERSION: 1.25.x
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
backend: