Skip to content

Commit

Permalink
chore: update golangci-lint to v1.64.5 (#629)
Browse files Browse the repository at this point in the history
Signed-off-by: Hugo Huang <tangent@google.com>
  • Loading branch information
tangenti authored Feb 18, 2025
1 parent 581e2a7 commit 2c8a1dd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .golangci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
run:
timeout: 3m
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,16 @@ e2e-remove-helpers:
e2e:
go clean -testcache && go list -f '{{.Dir}}/...' -m | xargs -I{} go test -tags=e2e {}

lint:
go install -v github.com/golangci/golangci-lint/cmd/golangci-lint@v1.54.1
$(foreach module, $(ALL_GO_MOD_DIRS), ${GOPATH}/bin/golangci-lint run --deadline=3m --timeout=3m $(module)/...;)
lint:
go install -v github.com/golangci/golangci-lint/cmd/golangci-lint@v1.64.5
$(foreach module, $(ALL_GO_MOD_DIRS), ${GOPATH}/bin/golangci-lint run $(module)/...;)

new-provider:
mkdir ./providers/$(MODULE_NAME)
cd ./providers/$(MODULE_NAME) && go mod init github.com/open-feature/go-sdk-contrib/providers/$(MODULE_NAME) && touch README.md
$(MAKE) append-to-release-please MODULE_TYPE=providers MODULE_NAME=$(MODULE_NAME)

new-hook:
new-hook:
mkdir ./hooks/$(MODULE_NAME)
cd ./hooks/$(MODULE_NAME) && go mod init github.com/open-feature/go-sdk-contrib/hooks/$(MODULE_NAME) && touch README.md
$(MAKE) append-to-release-please MODULE_TYPE=hooks MODULE_NAME=$(MODULE_NAME)
Expand Down

0 comments on commit 2c8a1dd

Please sign in to comment.