Skip to content

Commit

Permalink
package_managers: gomod: Bump the maximum supported Go version to 1.22
Browse files Browse the repository at this point in the history
This commit introduces just preliminary support of 1.22, i.e. without
vendored workspaces support. Future patches will take care of adding
support for vendored workspaces.

Signed-off-by: Erik Skultety <[email protected]>
  • Loading branch information
eskultety committed Jun 7, 2024
1 parent 54a2f33 commit b8d222e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cachi2/core/package_managers/gomod.py
Original file line number Diff line number Diff line change
Expand Up @@ -748,7 +748,7 @@ def _find_missing_gomod_files(source_path: RootedPath, subpaths: list[str]) -> l
def _setup_go_toolchain(go_mod_file: RootedPath) -> Go:
go = Go()
target_version = None
go_max_version = version.Version("1.21")
go_max_version = version.Version("1.22")
go_121_version = version.Version("1.21")
go_base_version = go.version
go_mod_version_msg = "go.mod reported versions: '{}'[go], '{}'[toolchain]"
Expand Down

0 comments on commit b8d222e

Please sign in to comment.