mirror of
https://github.com/containers/podman.git
synced 2026-07-12 16:25:08 -04:00
Merge pull request #24403 from Luap99/tools-vendor
go.mod vendor: ensure we never have the toolchain directive set
This commit is contained in:
1
Makefile
1
Makefile
@@ -348,6 +348,7 @@ vendor:
|
||||
$(GO) mod tidy
|
||||
$(GO) mod vendor
|
||||
$(GO) mod verify
|
||||
$(GO) mod edit -toolchain none
|
||||
|
||||
|
||||
# We define *-in-container targets for the following make targets. This allow the targets to be run in a container.
|
||||
|
||||
@@ -32,7 +32,8 @@ cd $CIRRUS_WORKING_DIR
|
||||
|
||||
# Note, make completions and make vendor will already be run in _run_build()
|
||||
# so do not run them again for no reason. This just makes CI slower.
|
||||
SUGGESTION="run 'make vendor' or 'make completions' and commit all changes" ./hack/tree_status.sh
|
||||
showrun make -C test/tools vendor
|
||||
SUGGESTION="run 'make vendor', 'make -C test/tools vendor' and 'make completions' and commit all changes" ./hack/tree_status.sh
|
||||
|
||||
showrun make .install.goimports
|
||||
showrun make generate-bindings
|
||||
|
||||
3
go.mod
3
go.mod
@@ -1,6 +1,7 @@
|
||||
module github.com/containers/podman/v5
|
||||
|
||||
// Warning: Ensure the "go" and "toolchain" versions match exactly to prevent unwanted auto-updates
|
||||
// Warning: if there is a "toolchain" directive anywhere in this file (and most of the
|
||||
// time there shouldn't be), its version must be an exact match to the "go" directive.
|
||||
|
||||
go 1.22.6
|
||||
|
||||
|
||||
@@ -12,6 +12,7 @@ vendor:
|
||||
$(GO) mod tidy
|
||||
$(GO) mod vendor
|
||||
$(GO) mod verify
|
||||
$(GO) mod edit -toolchain none
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
module github.com/containers/podman/test/tools
|
||||
|
||||
go 1.22.0
|
||||
// Warning: if there is a "toolchain" directive anywhere in this file (and most of the
|
||||
// time there shouldn't be), its version must be an exact match to the "go" directive.
|
||||
|
||||
toolchain go1.22.7
|
||||
go 1.22.0
|
||||
|
||||
require (
|
||||
github.com/cpuguy83/go-md2man/v2 v2.0.5
|
||||
|
||||
Reference in New Issue
Block a user