Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sometimes FTL tests fail due to a disparity between the go.work version and the go.mod version #1153

Open
alecthomas opened this issue Apr 1, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@alecthomas
Copy link
Collaborator

I saw this in CI, but was unable to replicate it even on the same branch, which is very irritating.

debug:another: Compiling
trace:another: exec: cd testdata/projects/another/_ftl/go/main && go build -o ../../main .
debug:another: go: module ../../.. listed in go.work file requires go >= 1.22.1, but go.work lists go 1.22.0; to update it:
debug:another: 	go work use
debug:another: go: module ../modules listed in go.work file requires go >= 1.22.1, but go.work lists go 1.22.0; to update it:
debug:another: 	go work use
debug:another: go: module . listed in go.work file requires go >= 1.22.1, but go.work lists go 1.22.0; to update it:
debug:another: 	go work use
go: module ../../.. listed in go.work file requires go >= 1.22.1, but go.work lists go 1.22.0; to update it:
	go work use
go: module ../modules listed in go.work file requires go >= 1.22.1, but go.work lists go 1.22.0; to update it:
	go work use
go: module . listed in go.work file requires go >= 1.22.1, but go.work lists go 1.22.0; to update it:
	go work use
    /home/runner/work/ftl/ftl/buildengine/build_go_test.go:128: Did not expect an error but got:
        failed to build module "another": exit status 1
@alecthomas alecthomas added the bug Something isn't working label Apr 1, 2024
@github-actions github-actions bot added the triage Issue needs triaging label Apr 1, 2024
@alecthomas alecthomas mentioned this issue Apr 1, 2024
@alecthomas alecthomas removed the triage Issue needs triaging label Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant