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

update to go 1.18 #336

Merged
merged 1 commit into from
Jun 3, 2022
Merged

update to go 1.18 #336

merged 1 commit into from
Jun 3, 2022

Conversation

alessandro-sorint
Copy link
Contributor

@alessandro-sorint alessandro-sorint commented Apr 14, 2022

update dockerfile and agola config for using golang 1.18

@alessandro-sorint
Copy link
Contributor Author

Hi @sgotti can you restart the run? thanks

@@ -107,7 +107,7 @@ local task_build_push_images(name, target, push) =
[
task_build_go(version, arch),
]
for version in ['1.15', '1.16']
for version in ['1.17']
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

keep the last two versions.

@@ -107,7 +107,7 @@ local task_build_push_images(name, target, push) =
[
task_build_go(version, arch),
]
for version in ['1.15', '1.16']
for version in ['1.17']
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

go 1.18 has already been released.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok @sgotti I change the PR to update go 1.18

@alessandro-sorint alessandro-sorint force-pushed the go1_17 branch 2 times, most recently from e88d70b to 94aa330 Compare April 14, 2022 13:10
@alessandro-sorint alessandro-sorint changed the title update to go 1.17 update to go 1.18 Apr 14, 2022
@alessandro-sorint
Copy link
Contributor Author

Hi @sgotti, I updated golangci-lint to v1.45.2 version to resolve this error:
`panic: load embedded ruleguard rules: rules/rules.go:13: can't load fmt

goroutine 1 [running]:
github.com/go-critic/go-critic/checkers.init.22()
github.com/go-critic/[email protected]/checkers/embedded_rules.go:46 +0x4b4`

@alessandro-sorint
Copy link
Contributor Author

@sgotti can you restart the run? thanks

Copy link
Member

@sgotti sgotti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. Merging.

@sgotti sgotti merged commit ae347ab into agola-io:master Jun 3, 2022
@alessandro-sorint alessandro-sorint deleted the go1_17 branch June 7, 2022 09:23
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.

2 participants