File tree Expand file tree Collapse file tree 5 files changed +9
-14
lines changed
templates/github/workflows Expand file tree Collapse file tree 5 files changed +9
-14
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ import _ "github.com/bool64/dev" // Include development helpers to project.
2626Add ` Makefile ` to your module with includes standard targets.
2727
2828``` Makefile
29- # GOLANGCI_LINT_VERSION := "v1.56.2 " # Optional configuration to pinpoint golangci-lint version.
29+ # GOLANGCI_LINT_VERSION := "v1.59.1 " # Optional configuration to pinpoint golangci-lint version.
3030
3131# The head of Makefile determines location of dev-go to include standard targets.
3232GO ?= go
Original file line number Diff line number Diff line change 1- # GOLANGCI_LINT_VERSION := "v1.56.2 " # Optional configuration to pinpoint golangci-lint version.
1+ # GOLANGCI_LINT_VERSION := "v1.59.1 " # Optional configuration to pinpoint golangci-lint version.
22
33# The head of Makefile determines location of dev-go to include standard targets.
44GO ?= go
Original file line number Diff line number Diff line change @@ -21,38 +21,33 @@ linters:
2121 enable-all : true
2222 disable :
2323 - lll
24- - maligned
2524 - gochecknoglobals
2625 - gomnd
2726 - wrapcheck
2827 - paralleltest
2928 - forbidigo
30- - exhaustivestruct
31- - interfacer # deprecated
3229 - forcetypeassert
33- - scopelint # deprecated
34- - ifshort # too many false positives
35- - golint # deprecated
3630 - varnamelen
3731 - tagliatelle
3832 - errname
3933 - ireturn
4034 - exhaustruct
4135 - nonamedreturns
42- - nosnakecase
4336 - structcheck
44- - varcheck
45- - deadcode
4637 - testableexamples
4738 - dupword
4839 - depguard
4940 - tagalign
41+ - execinquery
42+ - mnd
43+ - testifylint
5044
5145issues :
5246 exclude-use-default : false
5347 exclude-rules :
5448 - linters :
5549 - gomnd
50+ - mnd
5651 - goconst
5752 - goerr113
5853 - noctx
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
33[ -z " $GO " ] && GO=go
4- [ -z " $GOLANGCI_LINT_VERSION " ] && GOLANGCI_LINT_VERSION=" v1.56.2 "
4+ [ -z " $GOLANGCI_LINT_VERSION " ] && GOLANGCI_LINT_VERSION=" v1.59.1 "
55
66# detecting GOPATH and removing trailing "/" if any
77GOPATH=" $( go env GOPATH) "
Original file line number Diff line number Diff line change @@ -24,10 +24,10 @@ jobs:
2424 go-version : 1.22.x
2525 - uses : actions/checkout@v2
2626 - name : golangci-lint
27- uses : golangci/golangci-lint-action@v4 .0.0
27+ uses : golangci/golangci-lint-action@v6 .0.1
2828 with :
2929 # Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
30- version : v1.56.2
30+ version : v1.59.1
3131
3232 # Optional: working directory, useful for monorepos
3333 # working-directory: somedir
You can’t perform that action at this time.
0 commit comments