From ebb766faad838ded9732398659ab8d5ed48e1272 Mon Sep 17 00:00:00 2001 From: Daniel Mil Date: Thu, 13 Jan 2022 09:47:46 -0800 Subject: [PATCH 1/2] Bump yamlv2 version --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 2a7ee10d9a..71c38a6bcd 100644 --- a/go.mod +++ b/go.mod @@ -5,5 +5,5 @@ go 1.11 require ( github.com/BurntSushi/toml v0.3.1 github.com/cpuguy83/go-md2man/v2 v2.0.1 - gopkg.in/yaml.v2 v2.2.3 + gopkg.in/yaml.v2 v2.2.8 ) diff --git a/go.sum b/go.sum index 63c13e93f6..ad7e1ce821 100644 --- a/go.sum +++ b/go.sum @@ -6,5 +6,5 @@ github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= 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.v2 v2.2.3 h1:fvjTMHxHEw/mxHbtzPi3JCcKXQRAnQTBRo6YCJSVHKI= -gopkg.in/yaml.v2 v2.2.3/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10= +gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= From c20373fb8a43f8a153ae64a7c9fa0bcc467b0032 Mon Sep 17 00:00:00 2001 From: Daniel Mil <84205762+mildaniel@users.noreply.github.com> Date: Fri, 21 Jan 2022 13:09:46 -0800 Subject: [PATCH 2/2] Update max binary size to fix security vulnerability --- internal/build/build.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/build/build.go b/internal/build/build.go index d0be855ebc..9fd2cf9e82 100644 --- a/internal/build/build.go +++ b/internal/build/build.go @@ -194,7 +194,7 @@ func checkBinarySizeActionFunc(c *cli.Context) (err error) { helloSourceFilePath = "./internal/example-hello-world/example-hello-world.go" helloBuiltFilePath = "./internal/example-hello-world/built-example" desiredMinBinarySize = 1.9 - desiredMaxBinarySize = 2.1 + desiredMaxBinarySize = 2.2 badNewsEmoji = "🚨" goodNewsEmoji = "✨" checksPassedEmoji = "✅"