-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: bump Go version to 1.21 (#494)
* chore: bump Go version to 1.21 * test: fix flaky * test: use httptest --------- Co-authored-by: Guillermo Sanchez Gavier <gsanchez@newrelic.com>
- Loading branch information
1 parent
951d4f6
commit 983c3bc
Showing
12 changed files
with
63 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
ARG GO_VERSION=1.20 | ||
ARG GO_VERSION=1.21 | ||
|
||
FROM golang:$GO_VERSION | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
module github.com/newrelic/nri-flex | ||
|
||
go 1.20 | ||
go 1.21 | ||
|
||
require ( | ||
github.com/Knetic/govaluate v3.0.0+incompatible | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
name: httpTest | ||
apis: | ||
- name: httpTest | ||
url: http://localhost:8080/json | ||
url: http://localhost:$$TEST_HTTP_SERVER_PORT/json | ||
event_type: WindowsHttpSample | ||
start_key: | ||
- metrics | ||
- metrics |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
version: "3" | ||
services: | ||
golang: | ||
image: golang:1.20.13-bullseye | ||
image: golang:1.21-bullseye | ||
volumes: | ||
- ../:/go/src/github.com/newrelic/nri-flex | ||
working_dir: /go/src/github.com/newrelic/nri-flex |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
module github.com/newrelic/nri-flex/tools | ||
|
||
go 1.20 | ||
go 1.21 | ||
|
||
require ( | ||
github.com/AlekSi/gocov-xml v1.1.0 | ||
github.com/axw/gocov v1.0.0 | ||
github.com/axw/gocov v1.1.0 | ||
github.com/jandelgado/gcov2lcov v1.0.4 | ||
github.com/robertkrimen/godocdown v0.0.0-20130622164427-0bfa04905481 | ||
gopkg.in/yaml.v2 v2.2.8 // indirect | ||
) | ||
|
||
require gopkg.in/yaml.v2 v2.2.8 // indirect |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters