update to build with go1.20 (#22732)

as title

---------

Co-authored-by: Lauris BH <lauris@nix.lv>
This commit is contained in:
techknowlogick 2023-02-03 11:23:52 -05:00 committed by GitHub
parent 1410e13dc5
commit cfb1cb1168
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 27 additions and 30 deletions

View file

@ -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.