Skip to content

Commit

Permalink
*: upgrade to go1.23 (#264)
Browse files Browse the repository at this point in the history
close #263
  • Loading branch information
mornyx authored Oct 8, 2024
1 parent 78151ff commit 0c5bbdc
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
12 changes: 8 additions & 4 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ linters:
- misspell
- ineffassign
- typecheck
- varcheck
# - varcheck
- unused
- structcheck
- deadcode
# - structcheck
# - deadcode
- gosimple
- goimports
- errcheck
Expand All @@ -18,7 +18,8 @@ linters:
- gosec
- asciicheck
- bodyclose
- exportloopref
# - exportloopref
- copyloopvar
- rowserrcheck
- unconvert
- makezero
Expand All @@ -38,3 +39,6 @@ issues:
- gosec
- rowserrcheck
- makezero
- linters:
- gosec
text: "G115:"
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ lint: tools/bin/golangci-lint
GO111MODULE=on tools/bin/golangci-lint run -v $$($(PACKAGE_DIRECTORIES)) --config .golangci.yml

tools/bin/golangci-lint:
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b ./tools/bin v1.55.2
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b ./tools/bin v1.61.0
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/pingcap/ng-monitoring

go 1.21
go 1.23

require (
github.com/BurntSushi/toml v1.3.2
Expand Down

0 comments on commit 0c5bbdc

Please sign in to comment.