From bc9a1730b607bd6405bc233d2c849cbeff0ee755 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Sun, 15 Dec 2024 20:21:23 +0100 Subject: [PATCH] gha: update golangci-lint to v1.62.2 The current version is not compatible with go1.23 Signed-off-by: Sebastiaan van Stijn (cherry picked from commit 3509795ecda8ea7104552b44307859e89915fed7) Signed-off-by: Sebastiaan van Stijn --- .github/workflows/test.yml | 2 +- md2man/roff.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 56103ef..1144ec3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -35,4 +35,4 @@ jobs: - uses: actions/checkout@v4 - uses: golangci/golangci-lint-action@v6.1.1 with: - version: v1.55 + version: v1.62.2 diff --git a/md2man/roff.go b/md2man/roff.go index 96a80c9..c7b82f2 100644 --- a/md2man/roff.go +++ b/md2man/roff.go @@ -408,7 +408,7 @@ func escapeSpecialCharsLine(w io.Writer, text []byte) { } // bytesCut is a copy of [bytes.Cut] to provide compatibility with go1.17 -// and older. We can remove this once we drop support for go1.17 and older. +// and older. We can remove this once we drop support for go1.17 and older. func bytesCut(s, sep []byte) (before, after []byte, found bool) { if i := bytes.Index(s, sep); i >= 0 { return s[:i], s[i+len(sep):], true