Skip to content

Commit

Permalink
chore: bump Go version to latest 1.22 (#520)
Browse files Browse the repository at this point in the history
gsanchezgavier authored Sep 10, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent c10a790 commit ab1b91d
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/push_pr.yml
Original file line number Diff line number Diff line change
@@ -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}}
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -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}}
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -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

2 changes: 1 addition & 1 deletion build/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG GO_VERSION=1.21
ARG GO_VERSION=1.22

FROM golang:$GO_VERSION

2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion scripts/docker-compose-build.yml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion tools/go.mod
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit ab1b91d

Please sign in to comment.