diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 8085422c..8910601d 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -36,7 +36,7 @@ jobs: - name: Run golangci-lint run: | - curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b . v1.59.1 + curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b . v1.60.1 ./golangci-lint run --sort-results --build-tags integration,test diff --git a/test/utils/jqmatcher.go b/test/utils/jqmatcher.go index 5d6ab415..5f15ae8a 100644 --- a/test/utils/jqmatcher.go +++ b/test/utils/jqmatcher.go @@ -10,7 +10,7 @@ import ( "github.com/onsi/gomega/matchers" "github.com/onsi/gomega/types" - . "github.com/flant/libjq-go" + libjq_go "github.com/flant/libjq-go" ) // var _ = Ω(verBcs).To(MatchJq(`.[0] | has("objects")`, Equal(true))) @@ -43,7 +43,7 @@ func (matcher *matchJq) Match(actual interface{}) (success bool, err error) { } //nolint:typecheck // Ignore false positive: undeclared name: `Jq`. - res, err := Jq().Program(matcher.JqExpr).Run(matcher.InputString) + res, err := libjq_go.Jq().Program(matcher.JqExpr).Run(matcher.InputString) if err != nil { return false, fmt.Errorf("MatchJq apply jq expression: %s\n", err) }