Skip to content

Commit

Permalink
rework: gomod
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-burghardt committed May 8, 2024
1 parent d4e2c41 commit d4eedca
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion gomod.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@ set -e
go mod tidy
git diff --exit-code -- go.mod || (echo "Go file go.mod is dirty, update the file with 'go mod tidy' locally." && exit 1)
git diff --exit-code -- go.sum || (echo "Go file go.sum is dirty, update the file with 'go mod tidy' locally." && exit 1)
diff -u go.list <(go list -m all) || (echo "Go dependencies have changed, update the go.list file with 'go list -m all > go.list' locally." && exit 1)
go mod verify || (echo "One or more Go dependencies failed verification. Either a version is no longer available, or the author or someone else has modified the version so it no longer points to the same code." && exit 1)

0 comments on commit d4eedca

Please sign in to comment.