Skip to content

Commit

Permalink
fix docker golang versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
iamemilio committed Aug 2, 2024
1 parent a2d7d10 commit 0b0c7c5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 0b0c7c5

Please sign in to comment.