Skip to content

Commit

Permalink
Merge pull request #167 from weichou1229/go-1.23
Browse files Browse the repository at this point in the history
build: Upgrade to go-1.23, Linter1.61.0
  • Loading branch information
cloudxxx8 authored Oct 3, 2024
2 parents b7b0f5a + e5e47b3 commit 27e2582
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,9 @@ linters:
disable:
enable:
- gosec
linters-settings:
gosec:
excludes:
# G115: integer overflow conversion
# exclude the rule since it tends to be false positive
- G115
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ lint:
@if [ "z${ARCH}" = "zx86_64" ] && which golangci-lint >/dev/null ; then golangci-lint run --config .golangci.yml ; else echo "WARNING: Linting skipped (not on x86_64 or linter not installed)"; fi

install-lint:
sudo curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $$(go env GOPATH)/bin v1.54.2
sudo curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $$(go env GOPATH)/bin v1.61.0

test: unittest lint
$(GO) vet ./...
Expand Down
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/edgexfoundry/go-mod-registry/v3

go 1.21
go 1.23

require (
github.com/edgexfoundry/go-mod-core-contracts/v3 v3.2.0-dev.46
Expand Down

0 comments on commit 27e2582

Please sign in to comment.