Skip to content

Commit

Permalink
pkg_managers: gomod: Bump the max go version to 1.23
Browse files Browse the repository at this point in the history
Go 1.23 has been released [1], luckily with no real tangible impact, so
we not considering the missing 1.22 workspace vendoring support it is
safe for us to bump the version.

[1] https://tip.golang.org/doc/go1.23

Signed-off-by: Erik Skultety <[email protected]>
  • Loading branch information
eskultety authored and taylormadore committed Sep 16, 2024
1 parent 92a7eae commit 1610d36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cachito/workers/pkg_managers/gomod.py
Original file line number Diff line number Diff line change
Expand Up @@ -1084,7 +1084,7 @@ def _get_gomod_version(go_mod_file: Path) -> Tuple[Optional[str], Optional[str]]
def _select_go_toolchain(go_mod_file: Path) -> Go:
go = Go()
target_version = None
go_max_version = pkgver.Version("1.22")
go_max_version = pkgver.Version("1.23")
go_121_version = pkgver.Version("1.21")
go_base_version = go.version
go_mod_version_msg = "go.mod reported versions: '{}'[go], '{}'[toolchain]"
Expand Down

0 comments on commit 1610d36

Please sign in to comment.