Skip to content

Commit a429f08

Browse files
authored
chore: relax go directive to permit 1.22.x (#3713)
Setting this to 1.22.7 requires all consumers to be building with the 1.22.7 or newer release of Go 1.22 and to update their own go.mod accordingly — this seems unnecessarily restrictive for a library module, particularly as the code itself doesn't currently use any modern language constructs and builds fine even with older Go versions. Instead set the go directory to 1.22.0 and use the toolchain directive to recommend the latest 1.22.x when building locally. Signed-off-by: Dominic Evans <dominic.evans@uk.ibm.com>
1 parent 4edc515 commit a429f08

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

go.mod

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
module github.com/google/trillian
22

3-
go 1.22.7
3+
go 1.22.0
4+
5+
toolchain go1.22.10
46

57
require (
68
bitbucket.org/creachadair/shell v0.0.8

0 commit comments

Comments
 (0)