fix: 锁定 golangci-lint 版本为 v2.12.1 修复 CI checksum 校验失败

This commit is contained in:
ZacharyZcR
2026-05-07 02:09:37 +08:00
parent 1ebe6964f0
commit 903f8f0ef0
+1 -1
View File
@@ -56,7 +56,7 @@ jobs:
- name: 运行 golangci-lint
run: |
# 下载 golangci-lint v2
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin latest
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v2.12.1
# 运行检查并灵活处理结果
set +e