From 35c51503174754b6b99eea7eb3b52b84f6bfbd31 Mon Sep 17 00:00:00 2001 From: Fernandez Ludovic Date: Fri, 27 Sep 2024 22:45:29 +0200 Subject: [PATCH] docs: faq about Go versions --- docs/src/docs/welcome/faq.mdx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/src/docs/welcome/faq.mdx b/docs/src/docs/welcome/faq.mdx index 48a70a1f96d5..a04162201954 100644 --- a/docs/src/docs/welcome/faq.mdx +++ b/docs/src/docs/welcome/faq.mdx @@ -6,6 +6,11 @@ title: FAQ The same as the Go team (the 2 latest minor versions). +Basically, golangci-lint supports Go versions lower or equal to the Go version used to compile it. + +New versions of Go are not automatically supported because, in addition of the Go version used to build it, +some linters and/or internal pieces of golangci-lint could need to be adapted to support this new Go version. + ## How to use `golangci-lint` in CI Run `golangci-lint` in CI and check the exit code. If it's non-zero - fail the build.