adobe / aquarium-fish

Your best secure distributed heterogeneous dynamic compute resource manager for CI
Other
7 stars 3 forks source link

Add patch version number in go.mod (X.Y => X.Y.Z) #68

Closed svenevs closed 3 months ago

svenevs commented 4 months ago

Before Go 1.21, the initial release of a Go toolchain was version 1.N, not 1.N.0, so for N < 21, the ordering is adjusted to place 1.N after the release candidates.

https://go.dev/doc/toolchain#version

Go changed its versioning scheme in 1.21 from <major>.<minor> to <major>.<minor>.<patch>. CodeQL analysis flags this stating the lack of a patch number "may cause some go commands to fail."

Motivation and Context

CodeQL Analysis warns that some tooling may break without the patch number.

How Has This Been Tested?

It has not been; other than CI.

Types of changes

Checklist: