Skip to content

Commit

Permalink
chore: Update go declaration to have point version (#1484)
Browse files Browse the repository at this point in the history
Our understanding is that without the patch version, every run of "go
mod tidy" will write a toolchain directive in the file, which will
result in a diff from contributors with different point versions of go,
which is noisy and prone to breaking CI.

Signed-off-by: Will Murphy <will.murphy@anchore.com>
  • Loading branch information
willmurphyscode committed Sep 11, 2023
1 parent 719feb0 commit 13bae4b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
module github.com/anchore/grype

go 1.21

toolchain go1.21.0
go 1.21.1

require (
github.com/CycloneDX/cyclonedx-go v0.7.1
Expand Down

0 comments on commit 13bae4b

Please sign in to comment.