-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FFM-4572 - Update Go version, allow custom cache, add initalLoad flag…
…, standardise segment and flags being set (#98) * Update Go version in SDK * Add logic to allow user defined cache to be populated * Add flag for initial load so that oldflag check doesn't occur on first load * Update to use more recent ff-test-cases submodule * Pin version of Go lint as per golangci/golangci-lint-action#535
- Loading branch information
1 parent
edc74ed
commit bad5711
Showing
12 changed files
with
60 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -78,7 +78,7 @@ sec: $(GOPATH)/bin/gosec | |
|
||
$(GOPATH)/bin/golangci-lint: | ||
@echo "🔘 Installing golangci-lint... (`date '+%H:%M:%S'`)" | ||
@curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(GOPATH)/bin | ||
@curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(GOPATH)/bin v1.47.3 | ||
|
||
$(GOPATH)/bin/golint: | ||
@echo "🔘 Installing golint ... (`date '+%H:%M:%S'`)" | ||
|
@@ -95,7 +95,7 @@ $(GOPATH)/bin/gosec: | |
|
||
$(GOPATH)/bin/oapi-codegen: | ||
@echo "🔘 Installing oapicodegen ... (`date '+%H:%M:%S'`)" | ||
@go get github.com/deepmap/oapi-codegen/cmd/[email protected] | ||
@go install github.com/deepmap/oapi-codegen/cmd/[email protected] | ||
|
||
PHONY+= tools | ||
tools: $(GOPATH)/bin/golangci-lint $(GOPATH)/bin/golint $(GOPATH)/bin/gosec $(GOPATH)/bin/goimports $(GOPATH)/bin/oapi-codegen | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule ff-test-cases
updated
13 files
+134 −0 | README.md | |
+1 −1 | tests/bool_on_simple_rule.json | |
+1 −1 | tests/off_flag.json | |
+1 −1 | tests/off_off_no_rules.json | |
+1 −1 | tests/on_off_no_rules.json | |
+1 −1 | tests/prereq.json | |
+1 −1 | tests/rules_priority.json | |
+1 −1 | tests/segment_includes_target.json | |
+1 −1 | tests/segment_varmap_target.json | |
+61 −0 | tests/test_empty_or_missing_target_attributes.json | |
+0 −1 | types.gen.go | |
+3 −0 | types.go | |
+5 −3 | validator.go |