diff --git a/Makefile b/Makefile
index ead2bfde128d18549581ff98c861472862dca320..895da6021d7b6d35def6c91a6c79420bd3be699a 100755
--- a/Makefile
+++ b/Makefile
@@ -33,5 +33,5 @@ coverage: dep
 
 tidy:
 	GOPROXY=direct go get -u -v all 
-	@go mod tidy --compat=1.21
+	@go mod tidy --compat=1.22
 
diff --git a/go.mod b/go.mod
index 01c2a0c59f1344a72e71de84dec4a4d8585446b7..d546d3c3e64099ea99e3a33aba19d5027171a759 100755
--- a/go.mod
+++ b/go.mod
@@ -1,6 +1,6 @@
 module git.science.uu.nl/graphpolaris/query-conversion
 
-go 1.21
+go 1.22
 
 require github.com/stretchr/testify v1.9.0