Skip to content

Commit

Permalink
Fix go.mod to have the correct Go version
Browse files Browse the repository at this point in the history
As of recent Go versions, specifying the go directive without a patch
(e.g. 1.22) is no longer supported. Because go tries to download a
matching toolchain if you're not already using one, it will try to
download go toolchain version 1.22, which doesn't exist (1.22.0 does).

Fix the go.mod version to specify the full version with patch, 1.22.0.

Signed-off-by: Kevin Parsons <kevpar@microsoft.com>
  • Loading branch information
kevpar committed Nov 25, 2024
1 parent 9cf7c1c commit dcf9519
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/Microsoft/hcsshim

go 1.22
go 1.22.0

require (
github.com/Microsoft/cosesign1go v1.2.0
Expand Down

0 comments on commit dcf9519

Please sign in to comment.