summaryrefslogtreecommitdiffstats
path: root/.golangci.yml
diff options
context:
space:
mode:
authorChongyi Zheng <git@zcy.dev>2023-08-29 10:25:24 -0400
committerGitHub <noreply@github.com>2023-08-29 16:25:24 +0200
commit3507cad6f5d164509939754f15beef6de280e743 (patch)
tree5090e4d657623adcd87531e7aa7626ece34e476e /.golangci.yml
parent96ba747ff21ddffdbab0cc7b37e78381861bc9e4 (diff)
downloadgitea-3507cad6f5d164509939754f15beef6de280e743.tar.gz
gitea-3507cad6f5d164509939754f15beef6de280e743.zip
Use Go 1.21 for golangci-lint (#26786)
Co-authored-by: Giteabot <teabot@gitea.io>
Diffstat (limited to '.golangci.yml')
-rw-r--r--.golangci.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.golangci.yml b/.golangci.yml
index 7c35bdd2a8..069dc13c99 100644
--- a/.golangci.yml
+++ b/.golangci.yml
@@ -29,7 +29,7 @@ linters:
fast: false
run:
- go: "1.20"
+ go: "1.21"
timeout: 10m
skip-dirs:
- node_modules
@@ -75,7 +75,7 @@ linters-settings:
- name: modifies-value-receiver
gofumpt:
extra-rules: true
- lang-version: "1.20"
+ lang-version: "1.21"
depguard:
rules:
main: