Skip to content

Commit

Permalink
chore: update go version to 1.19
Browse files Browse the repository at this point in the history
  • Loading branch information
rogercoll committed Dec 1, 2022
1 parent 063bf2b commit a96952f
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/push_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
env:
REPO_FULL_NAME: ${{ github.event.repository.full_name }}
ORIGINAL_REPO_NAME: "newrelic/nri-flex"
GO_VERSION: '1.18'
GO_VERSION: '1.19'

jobs:

Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:
test-windows:
strategy:
matrix:
go: [ '1.18' ]
go: [ '1.19' ]
os: [ windows-2019 ]
name: Run unit and integration tests in ${{matrix.os}} with go ${{matrix.go}}
runs-on: ${{matrix.os}}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- 'v*'

env:
GO_VERSION: '1.18'
GO_VERSION: '1.19'
TAG: ${{ github.event.release.tag_name }}
IS_RELEASE: true
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # needed for goreleaser
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
test-windows:
strategy:
matrix:
go: [ '1.18' ]
go: [ '1.19' ]
os: [ windows-2019 ]
name: Run unit and integration tests in ${{matrix.os}} with go ${{matrix.go}}
runs-on: ${{matrix.os}}
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ SRCDIR ?= .
BUILD_DIR ?= $(CURDIR)/bin
COVERAGE_FILE ?= coverage.out

GO_VERSION ?= 1.18
GO_VERSION ?= 1.19
GO_CMD ?= go
GODOC ?= godocdown

Expand Down
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.18
ARG GO_VERSION=1.19

FROM golang:$GO_VERSION

Expand Down
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.18
go 1.19

require (
github.com/Knetic/govaluate v3.0.0+incompatible
Expand Down
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.18
go 1.19

require (
github.com/AlekSi/gocov-xml v0.0.0-20190121064608-3a14fb1c4737
Expand Down

0 comments on commit a96952f

Please sign in to comment.