Bump golang version to 1.18

Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
Evan Lezar
2022-11-16 10:43:23 +01:00
parent ab7f6095a1
commit 3eeb50d48b
3 changed files with 4 additions and 4 deletions

View File

@ -286,7 +286,7 @@ build-all-new-commits:
.PHONY: vendor .PHONY: vendor
vendor: vendor:
$(GO) mod tidy -compat=1.17 $(GO) mod tidy -compat=1.18
$(GO) mod vendor $(GO) mod vendor
$(GO) mod verify $(GO) mod verify
@ -302,7 +302,7 @@ $(IN_CONTAINER): %-in-container:
$(PODMANCMD) run --rm --env HOME=/root \ $(PODMANCMD) run --rm --env HOME=/root \
-v $(CURDIR):/src -w /src \ -v $(CURDIR):/src -w /src \
--security-opt label=disable \ --security-opt label=disable \
docker.io/library/golang:1.17 \ docker.io/library/golang:1.18 \
make $(*) make $(*)

2
go.mod
View File

@ -1,6 +1,6 @@
module github.com/containers/podman/v4 module github.com/containers/podman/v4
go 1.17 go 1.18
require ( require (
github.com/BurntSushi/toml v1.2.1 github.com/BurntSushi/toml v1.2.1

View File

@ -1,6 +1,6 @@
module github.com/containers/podman/test/tools module github.com/containers/podman/test/tools
go 1.17 go 1.18
require ( require (
github.com/cpuguy83/go-md2man/v2 v2.0.2 github.com/cpuguy83/go-md2man/v2 v2.0.2