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.
26
26
Add ` Makefile ` to your module with includes standard targets.
27
27
28
28
``` 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.
30
30
31
31
# The head of Makefile determines location of dev-go to include standard targets.
32
32
GO ?= 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.
2
2
3
3
# The head of Makefile determines location of dev-go to include standard targets.
4
4
GO ?= go
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -12,14 +12,14 @@ linters-settings:
12
12
threshold : 100
13
13
misspell :
14
14
locale : US
15
- unused :
16
- check-exported : false
17
15
unparam :
18
16
check-exported : true
19
17
20
18
linters :
21
19
enable-all : true
22
20
disable :
21
+ - intrange
22
+ - copyloopvar
23
23
- lll
24
24
- gochecknoglobals
25
25
- wrapcheck
@@ -36,7 +36,6 @@ linters:
36
36
- dupword
37
37
- depguard
38
38
- tagalign
39
- - execinquery
40
39
- mnd
41
40
- testifylint
42
41
- recvcheck
@@ -50,7 +49,6 @@ issues:
50
49
- noctx
51
50
- funlen
52
51
- dupl
53
- - structcheck
54
52
- unused
55
53
- unparam
56
54
path : " _test.go"
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
2
3
3
[ -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 "
5
5
6
6
# detecting GOPATH and removing trailing "/" if any
7
7
GOPATH=" $( go env GOPATH) "
25
25
26
26
echo " Checking packages."
27
27
golangci-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:
24
24
go-version : stable
25
25
- uses : actions/checkout@v4
26
26
- name : golangci-lint
27
- uses : golangci/golangci-lint-action@v6.2 .0
27
+ uses : golangci/golangci-lint-action@v6.5 .0
28
28
with :
29
29
# 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
31
31
32
32
# Optional: working directory, useful for monorepos
33
33
# working-directory: somedir
You can’t perform that action at this time.
0 commit comments