From 0b0c7c53694cf42b8a478ca3c17daaf45aa676a4 Mon Sep 17 00:00:00 2001 From: Emilio Garcia Date: Fri, 2 Aug 2024 11:41:44 -0400 Subject: [PATCH] fix docker golang versioning --- .github/workflows/ci.yaml | 16 ++++++++-------- Dockerfile | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index dcf6e62e5..cd4ffc42b 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -4,7 +4,7 @@ name: Go Agent CI on: pull_request env: # Specifies which go version to run integration tests on - INTEGRATION_TESTS_GO_VERSION: 1.21.5 + INTEGRATION_TESTS_GO_VERSION: latest jobs: go-agent-v3: @@ -15,13 +15,13 @@ jobs: matrix: include: # Core Tests on 3 most recent major Go versions - - go-version: 1.20.0 + - go-version: 1.20 dirs: v3/newrelic,v3/internal,v3/examples - - go-version: 1.21.0 + - go-version: 1.21 dirs: v3/newrelic,v3/internal,v3/examples - - go-version: 1.22.0 + - go-version: latest dirs: v3/newrelic,v3/internal,v3/examples - - go-version: 1.23.0 + - go-version: 1.23rc2 dirs: v3/newrelic,v3/internal,v3/examples # Integration Tests on highest Supported Go Version @@ -109,11 +109,11 @@ jobs: matrix: include: # Core Tests on 3 most recent major Go versions - - go-version: 1.19.0 + - go-version: 1.20 dirs: v3/newrelic,v3/internal,v3/examples - - go-version: 1.20.0 + - go-version: 1.21 dirs: v3/newrelic,v3/internal,v3/examples - - go-version: 1.21.0 + - go-version: latest dirs: v3/newrelic,v3/internal,v3/examples steps: - name: Checkout Code diff --git a/Dockerfile b/Dockerfile index 566e372ad..6c9e425f0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # This file is used to build the docker image for the Go Agent's GitHub Action tests # Default go version if no arguments passed in -ARG GO_VERSION=1.19 +ARG GO_VERSION=1.20 # Takes in go version FROM golang:${GO_VERSION} as builder