fluxcd-flux2/.github/workflows
Hidde Beydals 077860fff1 Fix updating of go.mod entries for components
We noticed that some of our components had not received `go.mod` updates
while they did receive updates for the versions declared in the YAML
manifests.

Was able to trace this back to a behavior change in Go since `1.16.x`,
resulting in it no longer making automated changes to `go.mod` and
`go.sum`[1]. This is an issue for our updater script as it relies
on `go list -m all`, which now after the first `go mod edit` returns:

```console
$ go list -m all
go: github.com/fluxcd/notification-controller/api@v0.10.0: missing
go.sum entry; to add it:
        go mod download github.com/fluxcd/notification-controller/api
```

To work around the issue without having to repeatedly call `go mod
tidy`, I have opted to simply `grep` on the contents of `go.mod` as a
workaround.

[1]: https://blog.golang.org/go116-module-changes#TOC_3.

Signed-off-by: Hidde Beydals <hello@hidde.co>
2021-03-16 16:11:29 +01:00
..
bootstrap.yaml Change repository name used in bootstrap tests 2021-03-15 11:20:26 +01:00
docs.yaml Fix controller_version helper func 2021-02-24 18:34:52 +01:00
e2e.yaml Embed the install manifests in flux binary 2021-02-25 12:53:04 +02:00
rebase.yaml Align formatting and extensions workflows 2021-02-18 15:41:32 +01:00
release.yaml Make manifests dir bundle.sh configurable 2021-03-08 18:45:05 +01:00
scan.yaml Improve build process embedded manifests 2021-03-08 16:06:44 +01:00
update.yaml Fix updating of go.mod entries for components 2021-03-16 16:11:29 +01:00