summaryrefslogtreecommitdiffstats
path: root/.golangci.yml
diff options
context:
space:
mode:
authortechknowlogick <techknowlogick@gitea.io>2023-02-03 11:23:52 -0500
committerGitHub <noreply@github.com>2023-02-03 11:23:52 -0500
commitcfb1cb1168726a3a4c13aeafaa9728d82e7e84fe (patch)
treea357604836b7dcc156e02b58ba593cd593f5d2fe /.golangci.yml
parent1410e13dc51030340e280b4637aeafa52defb359 (diff)
downloadgitea-cfb1cb1168726a3a4c13aeafaa9728d82e7e84fe.tar.gz
gitea-cfb1cb1168726a3a4c13aeafaa9728d82e7e84fe.zip
update to build with go1.20 (#22732)
as title --------- Co-authored-by: Lauris BH <lauris@nix.lv>
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 7635e83a37..caa237370e 100644
--- a/.golangci.yml
+++ b/.golangci.yml
@@ -28,7 +28,7 @@ linters:
fast: false
run:
- go: 1.19
+ go: 1.20
timeout: 10m
skip-dirs:
- node_modules
@@ -74,7 +74,7 @@ linters-settings:
- name: modifies-value-receiver
gofumpt:
extra-rules: true
- lang-version: "1.19"
+ lang-version: "1.20"
depguard:
list-type: denylist
# Check the list against standard lib.