File tree Expand file tree Collapse file tree 5 files changed +8
-4
lines changed
templates/github/workflows Expand file tree Collapse file tree 5 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ import _ "github.com/bool64/dev" // Include development helpers to project.
2222Add ` Makefile ` to your module with includes standard targets.
2323
2424``` Makefile
25- # GOLANGCI_LINT_VERSION := "v1.41.1 " # Optional configuration to pinpoint golangci-lint version.
25+ # GOLANGCI_LINT_VERSION := "v1.43.0 " # Optional configuration to pinpoint golangci-lint version.
2626
2727# The head of Makefile determines location of dev-go to include standard targets.
2828GO ?= go
Original file line number Diff line number Diff line change 1- # GOLANGCI_LINT_VERSION := "v1.41.1 " # Optional configuration to pinpoint golangci-lint version.
1+ # GOLANGCI_LINT_VERSION := "v1.43.0 " # 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 @@ -33,6 +33,10 @@ linters:
3333 - scopelint # deprecated
3434 - ifshort # too many false positives
3535 - golint # deprecated
36+ - varnamelen
37+ - tagliatelle
38+ - errname
39+ - ireturn
3640
3741issues :
3842 exclude-use-default : false
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.41.1 "
4+ [ -z " $GOLANGCI_LINT_VERSION " ] && GOLANGCI_LINT_VERSION=" v1.43.0 "
55
66# detecting GOPATH and removing trailing "/" if any
77GOPATH=" $( go env GOPATH) "
Original file line number Diff line number Diff line change 1818 uses : golangci/golangci-lint-action@v2.5.2
1919 with :
2020 # Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
21- version : v1.41.1
21+ version : v1.43.0
2222
2323 # Optional: working directory, useful for monorepos
2424 # working-directory: somedir
You can’t perform that action at this time.
0 commit comments