-
Notifications
You must be signed in to change notification settings - Fork 42
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
CI failure: undefined: types.Alias/types.Unalias #480
Comments
Updating the min version sounds like an easier way around the problem. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently the CI fails because:
types.Alias
andtypes.Unalias
have been introduced in go1.22.The current min version inside the
go.mod
is go1.19go-ruleguard/go.mod
Line 3 in 0fe6f58
The version used inside tests is go1.18
go-ruleguard/_test/install/gitclone/Dockerfile
Line 1 in 0fe6f58
go-ruleguard/_test/install/binary_gopath/Dockerfile
Line 1 in 0fe6f58
go-ruleguard/_test/install/binary_nogopath/Dockerfile
Line 1 in 0fe6f58
go-ruleguard/_test/install/gitclone_nobuildtag/Dockerfile
Line 1 in 0fe6f58
go-ruleguard/_test/install/gitclone_toolsgo/Dockerfile
Line 1 in 0fe6f58
And the tests use
GO111MODULE=off
go-ruleguard/_test/install/gitclone/test.bash
Line 31 in 0fe6f58
go-ruleguard/_test/install/binary_nogopath/test.bash
Line 30 in 0fe6f58
There are several solutions that need to be discussed to fix the problem:
internal/xtypes/xtypes.go
GO111MODULE=off
tests)The text was updated successfully, but these errors were encountered: