From 05c958666eb44d79a2705bd617719b48a5468c50 Mon Sep 17 00:00:00 2001 From: Mikhail Iudin Date: Mon, 18 Nov 2024 20:29:46 +0100 Subject: [PATCH] GO-4546 Fix cve --- .github/workflows/test.yml | 2 +- .run/Run.run.xml | 3 +- go.mod | 28 ++++----- go.sum | 97 +++++++++---------------------- pkg/lib/mill/image_resize.go | 2 +- pkg/lib/mill/image_resize_heic.go | 2 +- pkg/lib/mill/image_resize_psd.go | 2 +- pkg/lib/mill/image_resize_webp.go | 2 +- 8 files changed, 47 insertions(+), 91 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 88e3bdf92..83b7bb2e3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -71,7 +71,7 @@ jobs: else echo "run without race detector" fi - CGO_CFLAGS="-Wno-deprecated-non-prototype -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-xor-used-as-pow -Wno-single-bit-bitfield-constant-conversion" gotestsum --junitfile ~/gotestsum-report/gotestsum-report.xml -- -tags "nogrpcserver nographviz" -ldflags="-extldflags=-Wl,-ld_classic" -p 1 $(echo $PACKAGE_NAMES) $(echo $RACE) -coverprofile=coverage.out -covermode=atomic ./... + CGO_CFLAGS="-Wno-deprecated-non-prototype -Wno-unknown-warning-option -Wno-deprecated-declarations -Wno-xor-used-as-pow -Wno-single-bit-bitfield-constant-conversion" gotestsum --junitfile ~/gotestsum-report/gotestsum-report.xml -- -tags "nogrpcserver nographviz" -p 1 $(echo $PACKAGE_NAMES) $(echo $RACE) -coverprofile=coverage.out -covermode=atomic ./... generated_pattern='^\/\/ Code generated .* DO NOT EDIT\.$' files_list=$(grep -rl "$generated_pattern" . | grep '\.go$' | sed 's/^\.\///') diff --git a/.run/Run.run.xml b/.run/Run.run.xml index e1340f8e4..97af17e13 100644 --- a/.run/Run.run.xml +++ b/.run/Run.run.xml @@ -2,7 +2,7 @@ - + @@ -11,6 +11,7 @@ +