From 074d78539653d8e1d433639835f516bef1da6b96 Mon Sep 17 00:00:00 2001 From: Alberto Cavalcante <54247214+albertocavalcante@users.noreply.github.com> Date: Tue, 22 Apr 2025 19:32:47 -0700 Subject: [PATCH 01/12] chore(devtools): use curl instead of wget for better compatibility with MacOS --- scripts/devtools.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/devtools.sh b/scripts/devtools.sh index 6fe80caf..782a1fe1 100755 --- a/scripts/devtools.sh +++ b/scripts/devtools.sh @@ -2,4 +2,4 @@ set -ex go mod download golang.org/x/tools@latest curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.62.0 -wget -O- -nv https://raw.githubusercontent.com/securego/gosec/master/install.sh | sh -s +curl -sSfL https://raw.githubusercontent.com/securego/gosec/master/install.sh | sh -s From 649c9a083a0596087ccb9b5e155b94dccea03223 Mon Sep 17 00:00:00 2001 From: Alberto Cavalcante <54247214+albertocavalcante@users.noreply.github.com> Date: Tue, 22 Apr 2025 19:59:18 -0700 Subject: [PATCH 02/12] chore(check): use golangci-lint from GOPATH/bin as first option --- scripts/check.sh | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/scripts/check.sh b/scripts/check.sh index 069947ff..4f9b04fa 100755 --- a/scripts/check.sh +++ b/scripts/check.sh @@ -3,10 +3,23 @@ set -o errexit set -o pipefail -if command -v golangci-lint &> /dev/null -then - golangci-lint run --verbose +# TODO: Check if the found golangci-lint version matches the expected version (e.g., v1.62.0), especially if falling back to PATH version. + +GOPATH_LINT="$(go env GOPATH)/bin/golangci-lint" +BIN_LINT="./bin/golangci-lint" +LINT_CMD="" + +if [ -f "$GOPATH_LINT" ]; then + LINT_CMD="$GOPATH_LINT" +elif [ -f "$BIN_LINT" ]; then + LINT_CMD="$BIN_LINT" +elif command -v golangci-lint &> /dev/null; then + # Using PATH version, ensure compatibility (see TODO) + LINT_CMD="golangci-lint" else - ./bin/golangci-lint run --verbose + echo "Error: golangci-lint not found in $GOPATH/bin, ./bin, or PATH." + echo "Please run scripts/devtools.sh or ensure golangci-lint is installed correctly." + exit 1 fi +"$LINT_CMD" run --verbose From 2cb7498444d046a2ec983c51d625525733222280 Mon Sep 17 00:00:00 2001 From: Alberto Cavalcante <54247214+albertocavalcante@users.noreply.github.com> Date: Tue, 22 Apr 2025 20:01:52 -0700 Subject: [PATCH 03/12] chore(release): add windows arm64 binary target for release --- .goreleaser.yaml | 1 + scripts/xcompile.sh | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 5ce01617..f38d0578 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -38,6 +38,7 @@ builds: - openbsd_amd64 - windows_386 - windows_amd64 + - windows_arm64 no_unique_dist_dir: true diff --git a/scripts/xcompile.sh b/scripts/xcompile.sh index 8009e135..283e6406 100755 --- a/scripts/xcompile.sh +++ b/scripts/xcompile.sh @@ -24,9 +24,11 @@ tar czvf yq_man_page_only.tar.gz yq.1 -C ../scripts install-man-page.sh rm yq_windows_386.exe.tar.gz rm yq_windows_amd64.exe.tar.gz +rm yq_windows_arm64.exe.tar.gz zip yq_windows_386.zip yq_windows_386.exe zip yq_windows_amd64.zip yq_windows_amd64.exe +zip yq_windows_arm64.zip yq_windows_arm64.exe rm yq.1 From 7dc5efee624030af4a1c13902d181e527816410a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 10 Apr 2025 03:19:46 +0000 Subject: [PATCH 04/12] Bump golang.org/x/net from 0.34.0 to 0.39.0 Bumps [golang.org/x/net](https://github.com/golang/net) from 0.34.0 to 0.39.0. - [Commits](https://github.com/golang/net/compare/v0.34.0...v0.39.0) --- updated-dependencies: - dependency-name: golang.org/x/net dependency-version: 0.39.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- go.mod | 6 +++--- go.sum | 16 ++++++++-------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/go.mod b/go.mod index 0eeaf421..766cd32f 100644 --- a/go.mod +++ b/go.mod @@ -16,8 +16,8 @@ require ( github.com/spf13/cobra v1.8.1 github.com/spf13/pflag v1.0.6 github.com/yuin/gopher-lua v1.1.1 - golang.org/x/net v0.34.0 - golang.org/x/text v0.23.0 + golang.org/x/net v0.39.0 + golang.org/x/text v0.24.0 gopkg.in/op/go-logging.v1 v1.0.0-20160211212156-b2cb9fa56473 gopkg.in/yaml.v3 v3.0.1 ) @@ -26,7 +26,7 @@ require ( github.com/inconshreveable/mousetrap v1.1.0 // indirect github.com/mattn/go-colorable v0.1.13 // indirect github.com/mattn/go-isatty v0.0.20 // indirect - golang.org/x/sys v0.29.0 // indirect + golang.org/x/sys v0.32.0 // indirect ) go 1.23.0 diff --git a/go.sum b/go.sum index cf198270..5ac248e6 100644 --- a/go.sum +++ b/go.sum @@ -63,16 +63,16 @@ github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsT github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= github.com/yuin/gopher-lua v1.1.1 h1:kYKnWBjvbNP4XLT3+bPEwAXJx262OhaHDWDVOPjL46M= github.com/yuin/gopher-lua v1.1.1/go.mod h1:GBR0iDaNXjAgGg9zfCvksxSRnQx76gclCIb7kdAd1Pw= -golang.org/x/crypto v0.32.0 h1:euUpcYgM8WcP71gNpTqQCn6rC2t6ULUPiOzfWaXVVfc= -golang.org/x/crypto v0.32.0/go.mod h1:ZnnJkOaASj8g0AjIduWNlq2NRxL0PlBrbKVyZ6V/Ugc= -golang.org/x/net v0.34.0 h1:Mb7Mrk043xzHgnRM88suvJFwzVrRfHEHJEl5/71CKw0= -golang.org/x/net v0.34.0/go.mod h1:di0qlW3YNM5oh6GqDGQr92MyTozJPmybPK4Ev/Gm31k= +golang.org/x/crypto v0.37.0 h1:kJNSjF/Xp7kU0iB2Z+9viTPMW4EqqsrywMXLJOOsXSE= +golang.org/x/crypto v0.37.0/go.mod h1:vg+k43peMZ0pUMhYmVAWysMK35e6ioLh3wB8ZCAfbVc= +golang.org/x/net v0.39.0 h1:ZCu7HMWDxpXpaiKdhzIfaltL9Lp31x/3fCP11bc6/fY= +golang.org/x/net v0.39.0/go.mod h1:X7NRbYVEA+ewNkCNyJ513WmMdQ3BineSwVtN2zD/d+E= golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.29.0 h1:TPYlXGxvx1MGTn2GiZDhnjPA9wZzZeGKHHmKhHYvgaU= -golang.org/x/sys v0.29.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/text v0.23.0 h1:D71I7dUrlY+VX0gQShAThNGHFxZ13dGLBHQLVl1mJlY= -golang.org/x/text v0.23.0/go.mod h1:/BLNzu4aZCJ1+kcD0DNRotWKage4q2rGVAg4o22unh4= +golang.org/x/sys v0.32.0 h1:s77OFDvIQeibCmezSnk/q6iAfkdiQaJi4VzroCFrN20= +golang.org/x/sys v0.32.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k= +golang.org/x/text v0.24.0 h1:dd5Bzh4yt5KYA8f9CJHCP4FB4D51c2c6JvN37xJJkJ0= +golang.org/x/text v0.24.0/go.mod h1:L8rBsPeo2pSS+xqN0d5u2ikmjtmoJbDBT1b7nHvFCdU= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/op/go-logging.v1 v1.0.0-20160211212156-b2cb9fa56473 h1:6D+BvnJ/j6e222UW8s2qTSe3wGBtvo0MbVQG/c5k8RE= From b26de947585c63910e212dbd890744d7b839965a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 10 Apr 2025 03:19:32 +0000 Subject: [PATCH 05/12] Bump github.com/magiconair/properties from 1.8.9 to 1.8.10 Bumps [github.com/magiconair/properties](https://github.com/magiconair/properties) from 1.8.9 to 1.8.10. - [Release notes](https://github.com/magiconair/properties/releases) - [Commits](https://github.com/magiconair/properties/compare/v1.8.9...v1.8.10) --- updated-dependencies: - dependency-name: github.com/magiconair/properties dependency-version: 1.8.10 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 766cd32f..3ef01a56 100644 --- a/go.mod +++ b/go.mod @@ -10,7 +10,7 @@ require ( github.com/goccy/go-json v0.10.5 github.com/goccy/go-yaml v1.13.3 github.com/jinzhu/copier v0.4.0 - github.com/magiconair/properties v1.8.9 + github.com/magiconair/properties v1.8.10 github.com/pelletier/go-toml/v2 v2.2.3 github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e github.com/spf13/cobra v1.8.1 diff --git a/go.sum b/go.sum index 5ac248e6..bc2d92e4 100644 --- a/go.sum +++ b/go.sum @@ -38,8 +38,8 @@ github.com/jinzhu/copier v0.4.0 h1:w3ciUoD19shMCRargcpm0cm91ytaBhDvuRpz1ODO/U8= github.com/jinzhu/copier v0.4.0/go.mod h1:DfbEm0FYsaqBcKcFuvmOZb218JkPGtvSHsKg8S8hyyg= github.com/leodido/go-urn v1.4.0 h1:WT9HwE9SGECu3lg4d/dIA+jxlljEa1/ffXKmRjqdmIQ= github.com/leodido/go-urn v1.4.0/go.mod h1:bvxc+MVxLKB4z00jd1z+Dvzr47oO32F/QSNjSBOlFxI= -github.com/magiconair/properties v1.8.9 h1:nWcCbLq1N2v/cpNsy5WvQ37Fb+YElfq20WJ/a8RkpQM= -github.com/magiconair/properties v1.8.9/go.mod h1:Dhd985XPs7jluiymwWYZ0G4Z61jb3vdS329zhj2hYo0= +github.com/magiconair/properties v1.8.10 h1:s31yESBquKXCV9a/ScB3ESkOjUYYv+X0rg8SYxI99mE= +github.com/magiconair/properties v1.8.10/go.mod h1:Dhd985XPs7jluiymwWYZ0G4Z61jb3vdS329zhj2hYo0= github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA= github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg= github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= From 4155c99a12e439d5724a194dfadca0fa91671b31 Mon Sep 17 00:00:00 2001 From: n4zukker Date: Wed, 2 Apr 2025 21:45:23 -0400 Subject: [PATCH 06/12] Typo in cats example The quotation mark and closing parenthesis were swapped. Before: ``` $ echo "Hello kitty" | yq eval 'test("(?i)cats)"' Error: bad expression - probably missing close bracket on TEST ``` After: ``` $ echo "Hello kitty" | yq eval 'test("(?i)cats")' false ``` --- pkg/yqlib/doc/operators/headers/string-operators.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/yqlib/doc/operators/headers/string-operators.md b/pkg/yqlib/doc/operators/headers/string-operators.md index b426b977..a7aa02fb 100644 --- a/pkg/yqlib/doc/operators/headers/string-operators.md +++ b/pkg/yqlib/doc/operators/headers/string-operators.md @@ -3,7 +3,7 @@ ## RegEx This uses Golang's native regex functions under the hood - See their [docs](https://github.com/google/re2/wiki/Syntax) for the supported syntax. -Case insensitive tip: prefix the regex with `(?i)` - e.g. `test("(?i)cats)"`. +Case insensitive tip: prefix the regex with `(?i)` - e.g. `test("(?i)cats")`. ### match(regEx) This operator returns the substring match details of the given regEx. From 340b8972528b927aa29bcf0efb809302d6eb470d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 27 Feb 2025 03:08:23 +0000 Subject: [PATCH 07/12] Bump github.com/spf13/cobra from 1.8.1 to 1.9.1 Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.8.1 to 1.9.1. - [Release notes](https://github.com/spf13/cobra/releases) - [Commits](https://github.com/spf13/cobra/compare/v1.8.1...v1.9.1) --- updated-dependencies: - dependency-name: github.com/spf13/cobra dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- go.mod | 2 +- go.sum | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/go.mod b/go.mod index 3ef01a56..d6819832 100644 --- a/go.mod +++ b/go.mod @@ -13,7 +13,7 @@ require ( github.com/magiconair/properties v1.8.10 github.com/pelletier/go-toml/v2 v2.2.3 github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e - github.com/spf13/cobra v1.8.1 + github.com/spf13/cobra v1.9.1 github.com/spf13/pflag v1.0.6 github.com/yuin/gopher-lua v1.1.1 golang.org/x/net v0.39.0 diff --git a/go.sum b/go.sum index bc2d92e4..c99cfd47 100644 --- a/go.sum +++ b/go.sum @@ -6,7 +6,7 @@ github.com/alecthomas/participle/v2 v2.1.4 h1:W/H79S8Sat/krZ3el6sQMvMaahJ+XcM9WS github.com/alecthomas/participle/v2 v2.1.4/go.mod h1:8tqVbpTX20Ru4NfYQgZf4mP18eXPTBViyMWiArNEgGI= github.com/alecthomas/repr v0.4.0 h1:GhI2A8MACjfegCPVq9f1FLvIBS+DrQ2KQBFZP1iFzXc= github.com/alecthomas/repr v0.4.0/go.mod h1:Fr0507jx4eOXV7AlPV6AVZLYrLIuIeSOWtW57eE/O/4= -github.com/cpuguy83/go-md2man/v2 v2.0.4/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= +github.com/cpuguy83/go-md2man/v2 v2.0.6/go.mod h1:oOW0eioCTA6cOiMLiUPZOpcVxMig6NIQQ7OS05n1F4g= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= @@ -52,9 +52,8 @@ github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsK github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= -github.com/spf13/cobra v1.8.1 h1:e5/vxKd/rZsfSJMUX1agtjeTDf+qv1/JdBF8gg5k9ZM= -github.com/spf13/cobra v1.8.1/go.mod h1:wHxEcudfqmLYa8iTfL+OuZPbBZkmvliBWKIezN3kD9Y= -github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= +github.com/spf13/cobra v1.9.1 h1:CXSaggrXdbHK9CF+8ywj8Amf7PBRmPCOJugH954Nnlo= +github.com/spf13/cobra v1.9.1/go.mod h1:nDyEzZ8ogv936Cinf6g1RU9MRY64Ir93oCnqb9wxYW0= github.com/spf13/pflag v1.0.6 h1:jFzHGLGAlb3ruxLB8MhbI6A8+AQX/2eW4qeyNZXNp2o= github.com/spf13/pflag v1.0.6/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= From cf8621d9e3949fb86f3c9046d3cce4c130e608b2 Mon Sep 17 00:00:00 2001 From: Romain Lebrun Thauront Date: Mon, 9 Dec 2024 16:05:46 +0100 Subject: [PATCH 08/12] Install to /usr/local in README install instruction --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 582ab155..962b4257 100644 --- a/README.md +++ b/README.md @@ -76,21 +76,21 @@ For instance, VERSION=v4.2.0 and BINARY=yq_linux_amd64 #### Compressed via tar.gz ```bash wget https://github.com/mikefarah/yq/releases/download/${VERSION}/${BINARY}.tar.gz -O - |\ - tar xz && mv ${BINARY} /usr/bin/yq + tar xz && mv ${BINARY} /usr/local/bin/yq ``` #### Plain binary ```bash -wget https://github.com/mikefarah/yq/releases/download/${VERSION}/${BINARY} -O /usr/bin/yq &&\ - chmod +x /usr/bin/yq +wget https://github.com/mikefarah/yq/releases/download/${VERSION}/${BINARY} -O /usr/local/bin/yq &&\ + chmod +x /usr/loca/bin/yq ``` #### Latest version ```bash -wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -O /usr/bin/yq &&\ - chmod +x /usr/bin/yq +wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -O /usr/loca/bin/yq &&\ + chmod +x /usr/loca/bin/yq ``` ### MacOS / Linux via Homebrew: From 7b6e61ba2c146a481ff4f80dd8d8e42c3e728086 Mon Sep 17 00:00:00 2001 From: Romain Lebrun Thauront Date: Mon, 9 Dec 2024 16:07:26 +0100 Subject: [PATCH 09/12] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 962b4257..2249ff46 100644 --- a/README.md +++ b/README.md @@ -83,14 +83,14 @@ wget https://github.com/mikefarah/yq/releases/download/${VERSION}/${BINARY}.tar. ```bash wget https://github.com/mikefarah/yq/releases/download/${VERSION}/${BINARY} -O /usr/local/bin/yq &&\ - chmod +x /usr/loca/bin/yq + chmod +x /usr/local/bin/yq ``` #### Latest version ```bash -wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -O /usr/loca/bin/yq &&\ - chmod +x /usr/loca/bin/yq +wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -O /usr/local/bin/yq &&\ + chmod +x /usr/local/bin/yq ``` ### MacOS / Linux via Homebrew: From 67520b5e7b212478ad287c610de199c4246504dd Mon Sep 17 00:00:00 2001 From: Mike Farah Date: Sat, 3 May 2025 11:32:15 +1000 Subject: [PATCH 10/12] Adding windows arm build #2344 --- .goreleaser.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index f38d0578..53f911ff 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -38,6 +38,7 @@ builds: - openbsd_amd64 - windows_386 - windows_amd64 + - windows_arm - windows_arm64 no_unique_dist_dir: true From d01ac7801d2c74aca6c7df4fe3322d99c65e6c11 Mon Sep 17 00:00:00 2001 From: Mike Farah Date: Sat, 3 May 2025 11:37:40 +1000 Subject: [PATCH 11/12] Regen doc --- pkg/yqlib/doc/operators/string-operators.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/yqlib/doc/operators/string-operators.md b/pkg/yqlib/doc/operators/string-operators.md index e76c8860..fdace5a7 100644 --- a/pkg/yqlib/doc/operators/string-operators.md +++ b/pkg/yqlib/doc/operators/string-operators.md @@ -3,7 +3,7 @@ ## RegEx This uses Golang's native regex functions under the hood - See their [docs](https://github.com/google/re2/wiki/Syntax) for the supported syntax. -Case insensitive tip: prefix the regex with `(?i)` - e.g. `test("(?i)cats)"`. +Case insensitive tip: prefix the regex with `(?i)` - e.g. `test("(?i)cats")`. ### match(regEx) This operator returns the substring match details of the given regEx. From 89518a09b814e8b8341e84c7a51ced71b8e88e5e Mon Sep 17 00:00:00 2001 From: Mike Farah Date: Sat, 3 May 2025 15:58:14 +1000 Subject: [PATCH 12/12] Bumping golint --- scripts/devtools.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/devtools.sh b/scripts/devtools.sh index 782a1fe1..2cf7ab64 100755 --- a/scripts/devtools.sh +++ b/scripts/devtools.sh @@ -1,5 +1,5 @@ #!/bin/sh set -ex go mod download golang.org/x/tools@latest -curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.62.0 +curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.64.8 curl -sSfL https://raw.githubusercontent.com/securego/gosec/master/install.sh | sh -s