From 4d4cd2301f2f0478352faabf7532f01a6ede53d3 Mon Sep 17 00:00:00 2001 From: Denozordec Date: Wed, 20 May 2026 15:18:53 +0700 Subject: [PATCH] ci: update golangci-lint version and installation mode - Upgraded golangci-lint from v1.62 to v1.64.8 to ensure compatibility with Go 1.24. - Changed installation mode to 'goinstall' for improved setup. Co-authored-by: Cursor --- .gitea/workflows/ci.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 3e160f2..ad50b80 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -198,10 +198,12 @@ jobs: run: sh scripts/lint-httpapi.sh - name: Check migration pairs (DEP-03) run: sh scripts/check-migrations-pair.sh + # go.mod: go 1.24 — бинарник golangci-lint < v1.64.2 (сборка на Go 1.23) не запускается. - name: golangci-lint uses: golangci/golangci-lint-action@v6 with: - version: v1.62 + version: v1.64.8 + install-mode: goinstall - name: Test run: go test ./... -race -count=1 - name: Build all commands