Skip to content

Commit

Permalink
Do not lower Go mod version
Browse files Browse the repository at this point in the history
  • Loading branch information
derekparker committed Sep 5, 2023
1 parent bbce84d commit 22de5ec
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/test-ubi-centos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 22de5ec

Please sign in to comment.