From 52deeb08eae8aea529086140300e8f48b35bebcc Mon Sep 17 00:00:00 2001 From: xjasonlyu Date: Thu, 15 Feb 2024 17:40:24 -0500 Subject: [PATCH] Chore: bump to go1.22 --- .github/workflows/linter.yml | 2 +- .golangci.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 55fd7e49..b34afd8d 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -16,7 +16,7 @@ jobs: uses: actions/setup-go@v4 with: check-latest: true - go-version: '1.21' + go-version: '1.22' - name: golangci-lint uses: golangci/golangci-lint-action@v3 diff --git a/.golangci.yaml b/.golangci.yaml index 7d8356ab..4d6405e7 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -20,4 +20,4 @@ linters-settings: - default - prefix(github.com/xjasonlyu/tun2socks) staticcheck: - go: '1.21' + go: '1.22'