Closed Jusshersmith closed 4 years ago
Should we also add -mod=readonly
to the go build
commands in our Dockerfile and Makefile to more explicitly require up-to-date module information?
Yeah, I think that sounds like a sensible idea @mccutchen!
Merging #273 into master will not change coverage. The diff coverage is
n/a
.
@@ Coverage Diff @@
## master #273 +/- ##
=======================================
Coverage 62.21% 62.21%
=======================================
Files 54 54
Lines 4200 4200
=======================================
Hits 2613 2613
Misses 1399 1399
Partials 188 188
Think I'm going to need a fresh review on this @mccutchen! (thanks!)
Problem
Updates to certain go modules are required. This is starting to cause errors with new builds: https://circleci.com/gh/buzzfeed/sso/2185?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link
Solution
Running https://github.com/buzzfeed/sso/blob/master/scripts/test locally edited
go.mod
andgo.sum
files as required.