From 589dc29d891bc214387bfe351c39d85a43e1e1c2 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Mon, 12 Aug 2024 20:17:25 +0800 Subject: [PATCH] chore: upgrade golangci-lint and drop old Go versions - Update golangci-lint-action from version 5 to version 6 - Remove support for Go versions 1.18 and 1.19 from the workflow Signed-off-by: Bo-Yi Wu --- .github/workflows/go.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 2ab4650..754f142 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -23,7 +23,7 @@ jobs: go-version-file: go.mod check-latest: true - name: Setup golangci-lint - uses: golangci/golangci-lint-action@v5 + uses: golangci/golangci-lint-action@v6 with: version: latest args: --verbose @@ -31,7 +31,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - go: [1.18, 1.19, "1.20", 1.21, 1.22] + go: ["1.20", 1.21, 1.22] include: - os: ubuntu-latest go-build: ~/.cache/go-build