Commit bedc1f2
Build golangci-lint with the installed Go compiler
golangci-lint fails if the Go environment used to analyse code is
newer than the version it was built with. This isn't usually a problem
on devel because golangci-lint is updated regularly, but it's the main
reason why Go linting jobs fail on release branches: those stay on
older versions of golangci-lint that quickly end up older than the Go
compiler in the base Shipyard image.
This changes the base image construction so that golangci-lint is
always built using the installed compiler.
Signed-off-by: Stephen Kitt <[email protected]>1 parent e53ef04 commit bedc1f2
1 file changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
81 | 84 | | |
82 | | - | |
| 85 | + | |
83 | 86 | | |
84 | 87 | | |
85 | 88 | | |
| |||
0 commit comments