Skip to content

Commit

Permalink
all: upgrade to golangci-lint v1.56.1 (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmcloughlin authored Feb 9, 2024
1 parent 4979b34 commit d666bbd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,11 @@ linters:

linters-settings:
depguard:
list-type: whitelist
packages:
- github.com/mmcloughlin/profile
rules:
main:
allow:
- github.com/mmcloughlin/profile
- $gostd

lll:
line-length: 140
Expand Down
2 changes: 1 addition & 1 deletion script/bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -exuo pipefail

# Install golangci-lint
golangci_lint_version='v1.51.2'
golangci_lint_version='v1.56.1'
golangci_install_script="https://raw.githubusercontent.com/golangci/golangci-lint/${golangci_lint_version}/install.sh"
curl -sfL "${golangci_install_script}" | sh -s -- -b "$GOPATH/bin" "${golangci_lint_version}"

Expand Down

0 comments on commit d666bbd

Please sign in to comment.