From 22de5ec82555b9a3ff9c6f3f2f5a94d395dc0d46 Mon Sep 17 00:00:00 2001 From: Derek Parker Date: Tue, 5 Sep 2023 10:17:29 -0700 Subject: [PATCH] Do not lower Go mod version --- .github/workflows/test-ubi-centos.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/test-ubi-centos.yml b/.github/workflows/test-ubi-centos.yml index 804e9ba..67072c0 100644 --- a/.github/workflows/test-ubi-centos.yml +++ b/.github/workflows/test-ubi-centos.yml @@ -117,11 +117,7 @@ jobs: # script requires a git repo git init git config --global --add safe.directory /__w/go/go - # lower the go build version to 1.16 - sed -i "s/go mod tidy/go mod tidy -go=1.16/g" scripts/create-secondary-patch.sh ./scripts/full-initialize-repo.sh - # raise the go module version back to what is expected to prevent the toolchain from emulating older versions. - go mod edit -go="$(./go/bin/go version | awk '{ print $3 }' | sed 's/go//' | awk -F. '{printf "%s.%s\n", $1, $2}')" ./go/src/go.mod - name: "Configure FIPS tests" shell: bash