diff --git a/.github/workflows/push_pr.yml b/.github/workflows/push_pr.yml index 2a1a2591..1cfd6451 100644 --- a/.github/workflows/push_pr.yml +++ b/.github/workflows/push_pr.yml @@ -74,7 +74,7 @@ jobs: test-windows: strategy: matrix: - go: [ '1.21' ] + go: [ '1.22' ] os: [ windows-2022 ] name: Run unit and integration tests in ${{matrix.os}} with go ${{matrix.go}} runs-on: ${{matrix.os}} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 92d5ea88..129b773a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -71,7 +71,7 @@ jobs: test-windows: strategy: matrix: - go: [ '1.21' ] + go: [ '1.22' ] os: [ windows-2019 ] name: Run unit and integration tests in ${{matrix.os}} with go ${{matrix.go}} runs-on: ${{matrix.os}} diff --git a/Makefile b/Makefile index e56af4cc..ff946daa 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ SRCDIR ?= . BUILD_DIR ?= $(CURDIR)/bin COVERAGE_FILE ?= coverage.out -GO_VERSION ?= 1.21 +GO_VERSION ?= 1.22 GO_CMD ?= go GODOC ?= godocdown diff --git a/build/Dockerfile b/build/Dockerfile index 26deea5a..aa24fdad 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -1,4 +1,4 @@ -ARG GO_VERSION=1.21 +ARG GO_VERSION=1.22 FROM golang:$GO_VERSION diff --git a/docker-compose.yml b/docker-compose.yml index 412f38f0..bffe62b9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,7 +1,7 @@ version: "3" services: golang: - image: golang:1.21-bullseye + image: golang:1.22-bullseye volumes: - .:/go/src/github.com/newrelic/nri-flex working_dir: /go/src/github.com/newrelic/nri-flex diff --git a/go.mod b/go.mod index 4c5ba39e..7a023476 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/newrelic/nri-flex -go 1.21 +go 1.22 require ( github.com/Knetic/govaluate v3.0.0+incompatible diff --git a/scripts/docker-compose-build.yml b/scripts/docker-compose-build.yml index a4ae2801..cfcbb03b 100644 --- a/scripts/docker-compose-build.yml +++ b/scripts/docker-compose-build.yml @@ -1,7 +1,7 @@ version: "3" services: golang: - image: golang:1.21-bullseye + image: golang:1.22-bullseye volumes: - ../:/go/src/github.com/newrelic/nri-flex working_dir: /go/src/github.com/newrelic/nri-flex diff --git a/tools/go.mod b/tools/go.mod index 6b57eecb..17990aca 100644 --- a/tools/go.mod +++ b/tools/go.mod @@ -1,6 +1,6 @@ module github.com/newrelic/nri-flex/tools -go 1.21 +go 1.22 require ( github.com/AlekSi/gocov-xml v1.1.0