From 84bbdc2eba8f523d3bdfedf9ad36d10c391ff520 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=96=E7=95=8C?= Date: Wed, 31 Dec 2025 01:36:25 +0800 Subject: [PATCH] Revert "Pin gofumpt and golangci-lint versions" This reverts commit d9d7f7880dcfc262084c4c0da270a920c913cb68. --- .github/workflows/lint.yml | 2 +- Makefile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 04d289003..25302bf9d 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -32,7 +32,7 @@ jobs: - name: golangci-lint uses: golangci/golangci-lint-action@v8 with: - version: v2.4.0 + version: latest args: --timeout=30m install-mode: binary verify: false diff --git a/Makefile b/Makefile index 0f78baafe..a98faeac4 100644 --- a/Makefile +++ b/Makefile @@ -38,7 +38,7 @@ fmt: @gci write --custom-order -s standard -s "prefix(github.com/sagernet/)" -s "default" . fmt_install: - go install -v mvdan.cc/gofumpt@v0.8.0 + go install -v mvdan.cc/gofumpt@latest go install -v github.com/daixiang0/gci@latest lint: @@ -49,7 +49,7 @@ lint: GOOS=freebsd golangci-lint run ./... lint_install: - go install -v github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.4.0 + go install -v github.com/golangci/golangci-lint/v2/cmd/golangci-lint@latest proto: @go run ./cmd/internal/protogen