summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2023-02-07 11:46:01 -0700
committerLuke Shumaker <lukeshu@lukeshu.com>2023-02-07 14:03:58 -0700
commit9b638b866662778f254dba167f414dbddab325ba (patch)
treee0ebde9de03cbd5b1adca8d1c0b2ff91732481bb /Makefile
parent87013d526ea1b0647ef6e08758fe587cee11d854 (diff)
fixup! Fix compilation with Go 1.20
This invovles upgrading golangci-lint, as v1.51.0 is needed to support Go 1.20.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 867bae9..0bb62fe 100644
--- a/Makefile
+++ b/Makefile
@@ -44,7 +44,7 @@ go-mod-tidy:
go-mod-tidy: go-mod-tidy/main
go-mod-tidy/main:
rm -f go.sum
- go mod tidy -go $(goversion) -compat $(goversion)
+ go mod tidy -go 1.20 -compat $(goversion)
.PHONY: go-mod-tidy/main
go-mod-tidy: $(patsubst tools/src/%/go.mod,go-mod-tidy/tools/%,$(wildcard tools/src/*/go.mod))