Skip to content

Commit

Permalink
.circleci: try pinning golang.org/x/net with a replace directive
Browse files Browse the repository at this point in the history
Doing `go get` didn't fix the issue
  • Loading branch information
nsrip-dd committed Feb 15, 2022
1 parent d27bc9d commit 8378cd9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Expand Up @@ -253,9 +253,6 @@ jobs:
go get github.com/Shopify/sarama@v1.22.0
# Temporary enforcing gorm to v1.22.4 to avoid the problems of v1.22.5
go get -v gorm.io/gorm@v1.22.4
# Pin last version of golang.org/x/net, later version require
# os.ErrDeadlineExceeded which is only available for Go >=1.15
go get golang.org/x/net@d418f374d
- run:
name: Wait for MySQL
Expand Down Expand Up @@ -307,6 +304,9 @@ jobs:
PACKAGE_NAMES=$(go list ./contrib/... | grep -v -e grpc.v12 -e google.golang.org/api | circleci tests split --split-by=timings --timings-type=classname)
export DD_APPSEC_ENABLED=$(test "<< parameters.build_tags >>" = appsec && echo -n true)
export INTEGRATION=true
# Pin last version of golang.org/x/net, later version require
# os.ErrDeadlineExceeded which is only available for Go >=1.15
go mod edit -replace=golang.org/x/net=golang.org/x/net@d418f374d
gotestsum --junitfile ${TEST_RESULTS}/gotestsum-report.xml -- $PACKAGE_NAMES -v -race -coverprofile=coverage.txt -covermode=atomic -tags "<< parameters.build_tags >>"
- store_artifacts: # upload test summary for display in Artifacts
Expand Down

0 comments on commit 8378cd9

Please sign in to comment.