File tree Expand file tree Collapse file tree 6 files changed +7
-29
lines changed
templates/github/workflows Expand file tree Collapse file tree 6 files changed +7
-29
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.63.4 " # Optional configuration to pinpoint golangci-lint version.
29+ # GOLANGCI_LINT_VERSION := "v1.64.5 " # 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.63.4 " # Optional configuration to pinpoint golangci-lint version.
1+ # GOLANGCI_LINT_VERSION := "v1.64.5 " # Optional configuration to pinpoint golangci-lint version.
22
33# The head of Makefile determines location of dev-go to include standard targets.
44GO ?= go
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -12,14 +12,14 @@ linters-settings:
1212 threshold : 100
1313 misspell :
1414 locale : US
15- unused :
16- check-exported : false
1715 unparam :
1816 check-exported : true
1917
2018linters :
2119 enable-all : true
2220 disable :
21+ - intrange
22+ - copyloopvar
2323 - lll
2424 - gochecknoglobals
2525 - wrapcheck
@@ -36,7 +36,6 @@ linters:
3636 - dupword
3737 - depguard
3838 - tagalign
39- - execinquery
4039 - mnd
4140 - testifylint
4241 - recvcheck
@@ -50,7 +49,6 @@ issues:
5049 - noctx
5150 - funlen
5251 - dupl
53- - structcheck
5452 - unused
5553 - unparam
5654 path : " _test.go"
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.63.4 "
4+ [ -z " $GOLANGCI_LINT_VERSION " ] && GOLANGCI_LINT_VERSION=" v1.64.5 "
55
66# detecting GOPATH and removing trailing "/" if any
77GOPATH=" $( go env GOPATH) "
2525
2626echo " Checking packages."
2727golangci-lint-" $GOLANGCI_LINT_VERSION " run -c " $golangci_yml " ./... || exit 1
28-
29- if [[ -d " ./internal" && -d " ./cmd" ]]; then
30- echo " Checking unused exported symbols in internal packages."
31- golangci-lint-" $GOLANGCI_LINT_VERSION " run -c " $this_path " /.golangci-internal.yml ./internal/... ./cmd/... || exit 1
32- fi
Original file line number Diff line number Diff line change @@ -24,10 +24,10 @@ jobs:
2424 go-version : stable
2525 - uses : actions/checkout@v4
2626 - name : golangci-lint
27- uses : golangci/golangci-lint-action@v6.2 .0
27+ uses : golangci/golangci-lint-action@v6.5 .0
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.63.4
30+ version : v1.64.5
3131
3232 # Optional: working directory, useful for monorepos
3333 # working-directory: somedir
You can’t perform that action at this time.
0 commit comments