From 75f4396c4ac637426976a14b3a4da570548a40a9 Mon Sep 17 00:00:00 2001 From: Ludovic Fernandez Date: Sat, 28 Sep 2024 14:26:51 +0200 Subject: [PATCH] docs: improve FAQ about Go versions (#5046) --- 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.