Skip to content

Commit f40932c

Browse files
authored
Upgrade golangci-lint to 1.23.8 (#19)
1 parent 6fb08ae commit f40932c

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.golangci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
linters:
22
enable-all: true
33
disable:
4+
- gomnd
45
- lll
56
- wsl
67

78
issues:
9+
exclude-use-default: true
810
exclude:
911
# Triggered by table tests calling t.Run. See
1012
# https://github.com/kyoh86/scopelint/issues/4 for more information.

scripts/install-golangci-lint

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ set -eu
33

44
platform="$(uname -s)"
55
if [ "$platform" = Linux ]; then
6-
prefix=golangci-lint-1.21.0-linux-amd64
6+
prefix=golangci-lint-1.23.8-linux-amd64
77
elif [ "$platform" = Darwin ]; then
8-
prefix=golangci-lint-1.21.0-darwin-amd64
8+
prefix=golangci-lint-1.23.8-darwin-amd64
99
fi
1010

1111
cd "$(mktemp -d)" || exit 1
12-
wget -q "https://github.com/golangci/golangci-lint/releases/download/v1.21.0/${prefix}.tar.gz"
12+
wget -q "https://github.com/golangci/golangci-lint/releases/download/v1.23.8/${prefix}.tar.gz"
1313
tar -xf "${prefix}.tar.gz"
1414
mkdir -p "$(dirname "$1")"
1515
install "${prefix}/golangci-lint" "$1"

0 commit comments

Comments
 (0)