Skip to content

Conversation

@aykevl
Copy link
Member

@aykevl aykevl commented Jun 4, 2020

Since TinyGo started supporting Go modules, there was an error in CI. The commit 7967e82 tries to fix that, but I think the underlying issue is that we're checking out in GOROOT, which is definitely not a supported configuration.

I think the best solution is to just switch to using Go modules, by adding a go.mod file in the root. I've set it to Go version 1.13 as that is the first Go version that supports number literals, but it could be set to any supported Go version (1.11-1.14).

Since we use Go modules, the location of the drivers checkout should not matter so I've removed it. This fixes the error on CircleCI.

Since TinyGo started supporting Go modules, there was an error in CI.
The commit 7967e82 tries to fix that,
but I think the underlying issue is that we're checking out in GOROOT,
which is definitely not a supported configuration.

I think the best solution is to just switch to using Go modules, by
adding a go.mod file in the root. I've set it to Go version 1.13 as that
is the first Go version that supports number literals, but it could be
set to any supported Go version (1.11-1.14).

Since we use Go modules, the location of the drivers checkout should not
matter so I've removed it. This fixes the error on CircleCI.
@aykevl aykevl mentioned this pull request Jun 4, 2020
@deadprogram
Copy link
Member

Much better solution, thanks @aykevl

Now merging.

@deadprogram deadprogram merged commit 21ba939 into dev Jun 5, 2020
@deadprogram deadprogram deleted the fix-go-mod-issue branch June 5, 2020 06:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants