From 49903cb414730834e61484b6a243837591daf94c Mon Sep 17 00:00:00 2001 From: Guillermo Sanchez Gavier Date: Mon, 5 Jun 2023 14:12:30 +0200 Subject: [PATCH] chore: Update Go version to 1.20 (#107) --- CHANGELOG.md | 4 ++++ build/Dockerfile | 2 +- go.mod | 2 +- tests/integration/Dockerfile | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 54840e8..8c0def1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +## 2.5.0 (2023-06-06) +# Changed +- Update Go version to 1.20 + ## 2.4.0 (2023-03-08) ### Changed - Upgrade Go to 1.19 and bump dependencies diff --git a/build/Dockerfile b/build/Dockerfile index a08b502..8585d29 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.19-buster +FROM golang:1.20-buster ARG GH_VERSION='2.23.0' diff --git a/go.mod b/go.mod index acd366b..d436c46 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/newrelic/nri-haproxy -go 1.19 +go 1.20 require ( github.com/newrelic/infra-integrations-sdk v3.7.3+incompatible diff --git a/tests/integration/Dockerfile b/tests/integration/Dockerfile index 942d943..8ec2f1c 100644 --- a/tests/integration/Dockerfile +++ b/tests/integration/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.19 as builder +FROM golang:1.20-buster as builder ARG CGO_ENABLED=0 WORKDIR /go/src/github.com/newrelic/nri-haproxy COPY . .