diff --git a/.githooks/pre-commit b/.githooks/pre-commit index 3aa3e23cc3..8853e1b92e 100755 --- a/.githooks/pre-commit +++ b/.githooks/pre-commit @@ -1,5 +1,5 @@ #!/bin/sh -REQUIRED_GO_VERSION=go$(cat .go-version) # use the .go-version +REQUIRED_GO_VERSION=go1.18.3 #go$(cat .go-version) # use the .go-version printf "==> Step 1: [Faster]Gofmt Check...\n" make fmt-faster diff --git a/.go-version b/.go-version index b9fb27ab4f..511a76e6fa 100644 --- a/.go-version +++ b/.go-version @@ -1 +1 @@ -1.18.3 +1.17.1