From bc05c65990df8f2db6839d033f1d9759cca60b86 Mon Sep 17 00:00:00 2001 From: Nahshon Unna-Tsameret Date: Sun, 11 Feb 2024 12:21:00 +0200 Subject: [PATCH] Bump golang to v1.21 --- .github/workflows/sanity.yml | 2 +- go.mod | 2 +- go.sum | 1 + testdata/src/a/go.mod | 2 +- testdata/src/a/go.sum | 2 ++ .../vendor/github.com/go-logr/logr/SECURITY.md | 18 ++++++++++++++++++ 6 files changed, 24 insertions(+), 3 deletions(-) create mode 100644 testdata/src/a/vendor/github.com/go-logr/logr/SECURITY.md diff --git a/.github/workflows/sanity.yml b/.github/workflows/sanity.yml index 85a60fb..2d13c5c 100644 --- a/.github/workflows/sanity.yml +++ b/.github/workflows/sanity.yml @@ -16,7 +16,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: '1.20' + go-version: '1.21' - name: Run golangci-lint uses: golangci/golangci-lint-action@v3 diff --git a/go.mod b/go.mod index 02e0730..fcb57b7 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/nunnatsa/ginkgolinter -go 1.20 +go 1.21 require ( github.com/go-toolsmith/astcopy v1.1.0 diff --git a/go.sum b/go.sum index a770e80..f873d51 100644 --- a/go.sum +++ b/go.sum @@ -13,5 +13,6 @@ golang.org/x/exp/typeparams v0.0.0-20231219180239-dc181d75b848/go.mod h1:AbB0pIl golang.org/x/mod v0.14.0 h1:dGoOF9QVLYng8IHTm7BAyWqCqSheQ5pYWGhzW00YJr0= golang.org/x/mod v0.14.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/sync v0.6.0 h1:5BMeUDZ7vkXGfEr1x9B4bRcTH4lpkTkpdh0T/J+qjbQ= +golang.org/x/sync v0.6.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= golang.org/x/tools v0.17.0 h1:FvmRgNOcs3kOa+T20R1uhfP9F6HgG2mfxDv1vrx1Htc= golang.org/x/tools v0.17.0/go.mod h1:xsh6VxdV005rRVaS6SSAf9oiAqljS7UZUacMZ8Bnsps= diff --git a/testdata/src/a/go.mod b/testdata/src/a/go.mod index 15eaf86..1379854 100644 --- a/testdata/src/a/go.mod +++ b/testdata/src/a/go.mod @@ -1,6 +1,6 @@ module a -go 1.20 +go 1.21 require ( github.com/onsi/ginkgo/v2 v2.13.2 diff --git a/testdata/src/a/go.sum b/testdata/src/a/go.sum index b027eb2..e550f63 100644 --- a/testdata/src/a/go.sum +++ b/testdata/src/a/go.sum @@ -6,6 +6,7 @@ github.com/go-logr/logr v1.3.0/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ4 github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 h1:tfuBGBXKqDEevZMzYi5KSi8KkcZtzBcTgAUUtapy0OI= github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572/go.mod h1:9Pwr4B2jHnOSGXyyzV8ROjYa2ojvAY6HCGYYfMoC3Ls= github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg= +github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/pprof v0.0.0-20231212022811-ec68065c825e h1:bwOy7hAFd0C91URzMIEBfr6BAz29yk7Qj0cy6S7DJlU= @@ -28,6 +29,7 @@ golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= golang.org/x/tools v0.16.1 h1:TLyB3WofjdOEepBHAU20JdNC1Zbg87elYofWYAY5oZA= golang.org/x/tools v0.16.1/go.mod h1:kYVVN6I1mBNoB1OX+noeBjbRk4IUEPa7JJ+TJMEooJ0= google.golang.org/protobuf v1.28.0 h1:w43yiav+6bVFTBQFZX0r7ipe9JQ1QsbMgHwbBziscLw= +google.golang.org/protobuf v1.28.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= 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/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= diff --git a/testdata/src/a/vendor/github.com/go-logr/logr/SECURITY.md b/testdata/src/a/vendor/github.com/go-logr/logr/SECURITY.md new file mode 100644 index 0000000..1ca756f --- /dev/null +++ b/testdata/src/a/vendor/github.com/go-logr/logr/SECURITY.md @@ -0,0 +1,18 @@ +# Security Policy + +If you have discovered a security vulnerability in this project, please report it +privately. **Do not disclose it as a public issue.** This gives us time to work with you +to fix the issue before public exposure, reducing the chance that the exploit will be +used before a patch is released. + +You may submit the report in the following ways: + +- send an email to go-logr-security@googlegroups.com +- send us a [private vulnerability report](https://github.com/go-logr/logr/security/advisories/new) + +Please provide the following information in your report: + +- A description of the vulnerability and its impact +- How to reproduce the issue + +We ask that you give us 90 days to work on a fix before public exposure.