Skip to content

Commit

Permalink
gha: update golangci-lint to v1.62.2
Browse files Browse the repository at this point in the history
The current version is not compatible with go1.23

Signed-off-by: Sebastiaan van Stijn <[email protected]>
(cherry picked from commit 3509795)
Signed-off-by: Sebastiaan van Stijn <[email protected]>
  • Loading branch information
thaJeztah committed Dec 15, 2024
1 parent fcadb0e commit bc9a173
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ jobs:
- uses: actions/checkout@v4
- uses: golangci/[email protected]
with:
version: v1.55
version: v1.62.2
2 changes: 1 addition & 1 deletion md2man/roff.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bc9a173

Please sign in to comment.