Browse Source

bump golang to 1.20

Signed-off-by: Guillaume Lours <[email protected]>
Guillaume Lours 2 years ago
parent
commit
a2d36b6c6c
3 changed files with 4 additions and 4 deletions
  1. 2 2
      Dockerfile
  2. 1 1
      docker-bake.hcl
  3. 1 1
      go.mod

+ 2 - 2
Dockerfile

@@ -15,9 +15,9 @@
 #   See the License for the specific language governing permissions and
 #   limitations under the License.
 
-ARG GO_VERSION=1.19.4
+ARG GO_VERSION=1.20.0
 ARG XX_VERSION=1.1.2
-ARG GOLANGCI_LINT_VERSION=v1.49.0
+ARG GOLANGCI_LINT_VERSION=v1.51.0
 ARG ADDLICENSE_VERSION=v1.0.0
 
 ARG BUILD_TAGS="e2e"

+ 1 - 1
docker-bake.hcl

@@ -13,7 +13,7 @@
 // limitations under the License.
 
 variable "GO_VERSION" {
-  default = "1.19.4"
+  default = "1.20.0"
 }
 
 variable "BUILD_TAGS" {

+ 1 - 1
go.mod

@@ -1,6 +1,6 @@
 module github.com/docker/compose/v2
 
-go 1.19
+go 1.20
 
 require (
 	github.com/AlecAivazis/survey/v2 v2.3.6