Skip to content

Commit f447bc8

Browse files
authored
Merge pull request #2 from chaosnative/fix-vulrn
fix(vulrn): fixing the security vulnerabilities
2 parents 2c49f50 + bdf5522 commit f447bc8

6 files changed

Lines changed: 33 additions & 180 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Install Go
2020
uses: actions/setup-go@v2
2121
with:
22-
go-version: 1.17.x
22+
go-version: 1.18.0
2323
- name: Checkout code
2424
uses: actions/checkout@v2
2525

.github/workflows/test.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ jobs:
1313
strategy:
1414
matrix:
1515
go-version:
16-
- 1.15.x
17-
- 1.16.x
16+
- 1.18.0
1817
os:
1918
- ubuntu-20.04
2019
- macos-latest

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.16-buster AS build
1+
FROM golang:1.18-buster AS build
22

33
ADD go.mod /promql-cli/go.mod
44
ADD go.sum /promql-cli/go.sum

go.mod

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
module github.com/nalbury/promql-cli
22

3-
go 1.17
3+
go 1.18
44

55
require (
66
github.com/guptarohit/asciigraph v0.4.2-0.20191006150553-f9506970428c
77
github.com/mitchellh/go-homedir v1.1.0
8-
github.com/prometheus/client_golang v1.10.0
9-
github.com/prometheus/common v0.18.0
8+
github.com/prometheus/client_golang v1.11.1
9+
github.com/prometheus/common v0.26.0
1010
github.com/spf13/cobra v1.1.3
1111
github.com/spf13/viper v1.7.0
1212
github.com/stretchr/testify v1.6.1
@@ -21,7 +21,7 @@ require (
2121
github.com/hashicorp/hcl v1.0.0 // indirect
2222
github.com/inconshreveable/mousetrap v1.0.0 // indirect
2323
github.com/jpillora/backoff v1.0.0 // indirect
24-
github.com/json-iterator/go v1.1.10 // indirect
24+
github.com/json-iterator/go v1.1.11 // indirect
2525
github.com/kr/pretty v0.2.1 // indirect
2626
github.com/magiconair/properties v1.8.1 // indirect
2727
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
@@ -38,10 +38,12 @@ require (
3838
github.com/spf13/jwalterweatherman v1.0.0 // indirect
3939
github.com/spf13/pflag v1.0.5 // indirect
4040
github.com/subosito/gotenv v1.2.0 // indirect
41-
golang.org/x/net v0.0.0-20200625001655-4c5254603344 // indirect
42-
golang.org/x/sys v0.0.0-20210309074719-68d13333faf2 // indirect
43-
golang.org/x/text v0.3.2 // indirect
44-
google.golang.org/protobuf v1.23.0 // indirect
41+
golang.org/x/net v0.0.0-20220906165146-f3363e06e74c // indirect
42+
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45 // indirect
43+
golang.org/x/sys v0.0.0-20220728004956-3c1f35247d10 // indirect
44+
golang.org/x/text v0.3.7 // indirect
45+
google.golang.org/appengine v1.6.1 // indirect
46+
google.golang.org/protobuf v1.26.0-rc.1 // indirect
4547
gopkg.in/ini.v1 v1.51.0 // indirect
4648
gopkg.in/yaml.v2 v2.4.0 // indirect
4749
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c // indirect

0 commit comments

Comments
 (0)