Skip to content

Commit 485704f

Browse files
Update golang version (#199)
* fix(vulnerability): bump golang version
1 parent 1c012d0 commit 485704f

File tree

7 files changed

+103
-61
lines changed

7 files changed

+103
-61
lines changed

.github/workflows/pullRequestAndMergeMaster.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
name: CreateAndPushWindowsExecutable
1111
strategy:
1212
matrix:
13-
go: [ 1.19 ]
13+
go: [ 1.22 ]
1414
goarch: [ amd64 ]
1515
runs-on: windows-2019
1616
steps:

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
name: CreateAndPushWindowsExecutable
99
strategy:
1010
matrix:
11-
go: [ 1.19 ]
11+
go: [ 1.22 ]
1212
goarch: [ amd64 ]
1313
runs-on: windows-2019
1414
steps:

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/)
66
and this project adheres to [Semantic Versioning](http://semver.org/).
77

8+
## 1.0.2 (2024-08-01)
9+
### Fixed
10+
- Bumped dependencies
11+
812
## 1.0.1 (2023-04-04)
913
### Fixed
1014
- Creation of WIN_SERVICE entities

go.mod

Lines changed: 26 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,49 @@
11
module github.com/newrelic/nri-winservices
22

3-
go 1.19
3+
go 1.22.5
44

55
require (
66
github.com/newrelic/infra-integrations-sdk/v4 v4.2.1
77
github.com/prometheus-community/windows_exporter v0.20.0
8-
github.com/prometheus/client_model v0.5.0
9-
github.com/prometheus/common v0.42.0
10-
github.com/stretchr/testify v1.8.4
8+
github.com/prometheus/client_model v0.6.1
9+
github.com/prometheus/common v0.55.0
10+
github.com/stretchr/testify v1.9.0
1111
github.com/xeipuuv/gojsonschema v1.2.0
12-
golang.org/x/sys v0.16.0
12+
golang.org/x/sys v0.22.0
1313
gopkg.in/yaml.v2 v2.4.0
1414
)
1515

1616
require (
17-
github.com/Microsoft/go-winio v0.5.0 // indirect
18-
github.com/Microsoft/hcsshim v0.9.4 // indirect
19-
github.com/StackExchange/wmi v0.0.0-20180725035823-b12b22c5341f // indirect
17+
github.com/Microsoft/go-winio v0.6.2 // indirect
18+
github.com/Microsoft/hcsshim v0.12.5 // indirect
19+
github.com/StackExchange/wmi v1.2.1 // indirect
2020
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751 // indirect
21-
github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137 // indirect
21+
github.com/alecthomas/units v0.0.0-20240626203959-61d1e3462e30 // indirect
2222
github.com/beorn7/perks v1.0.1 // indirect
23-
github.com/cespare/xxhash/v2 v2.1.2 // indirect
24-
github.com/containerd/cgroups v1.0.1 // indirect
23+
github.com/cespare/xxhash/v2 v2.2.0 // indirect
24+
github.com/containerd/cgroups/v3 v3.0.2 // indirect
25+
github.com/containerd/errdefs v0.1.0 // indirect
2526
github.com/davecgh/go-spew v1.1.1 // indirect
2627
github.com/dimchansky/utfbom v1.1.1 // indirect
2728
github.com/go-kit/log v0.2.1 // indirect
28-
github.com/go-logfmt/logfmt v0.5.1 // indirect
29-
github.com/go-ole/go-ole v1.2.6 // indirect
30-
github.com/gogo/protobuf v1.3.2 // indirect
31-
github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e // indirect
32-
github.com/golang/protobuf v1.5.2 // indirect
33-
github.com/leoluk/perflib_exporter v0.1.1-0.20211204221052-9e3696429c20 // indirect
34-
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
29+
github.com/go-logfmt/logfmt v0.6.0 // indirect
30+
github.com/go-ole/go-ole v1.3.0 // indirect
31+
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
32+
github.com/golang/protobuf v1.5.4 // indirect
33+
github.com/leoluk/perflib_exporter v0.2.1 // indirect
34+
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
3535
github.com/newrelic/infrastructure-agent v0.0.0-20201127092132-00ac7efc0cc6 // indirect
3636
github.com/pkg/errors v0.9.1 // indirect
3737
github.com/pmezard/go-difflib v1.0.0 // indirect
38-
github.com/prometheus/client_golang v1.14.0 // indirect
39-
github.com/prometheus/procfs v0.8.0 // indirect
40-
github.com/sirupsen/logrus v1.9.0 // indirect
41-
github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f // indirect
38+
github.com/prometheus/client_golang v1.19.1 // indirect
39+
github.com/prometheus/procfs v0.15.1 // indirect
40+
github.com/sirupsen/logrus v1.9.3 // indirect
41+
github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb // indirect
4242
github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect
43-
go.opencensus.io v0.22.4 // indirect
44-
google.golang.org/protobuf v1.31.0 // indirect
43+
go.opencensus.io v0.24.0 // indirect
44+
google.golang.org/genproto/googleapis/rpc v0.0.0-20240123012728-ef4313101c80 // indirect
45+
google.golang.org/grpc v1.62.0 // indirect
46+
google.golang.org/protobuf v1.34.2 // indirect
4547
gopkg.in/alecthomas/kingpin.v2 v2.2.6 // indirect
4648
gopkg.in/yaml.v3 v3.0.1 // indirect
4749
)

0 commit comments

Comments
 (0)