Skip to content

Commit 6da3fab

Browse files
Pe 4649 snyk issues fix (#30)
* upgraded packages - working on snyk detected issues * updated version * added missing packages * updated Docker file
1 parent 10d084a commit 6da3fab

File tree

4 files changed

+1852
-119
lines changed

4 files changed

+1852
-119
lines changed

.github/workflows/cicd.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Set up Go
1818
uses: actions/setup-go@v1
1919
with:
20-
go-version: 1.17
20+
go-version: 1.20
2121
id: go
2222

2323
- name: Check out code into the Go module directory
@@ -54,13 +54,13 @@ jobs:
5454
- name: Set up Go
5555
uses: actions/setup-go@v1
5656
with:
57-
go-version: 1.17
57+
go-version: 1.20
5858
id: go
5959

6060
- name: Run goreleaser
61-
uses: goreleaser/goreleaser-action@v1
61+
uses: goreleaser/goreleaser-action@v5
6262
with:
63-
version: v0.131.1
63+
version: latest
6464
args: release --rm-dist
6565
env:
6666
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.17.2 as build
1+
FROM golang:1.20 as build
22
LABEL org.opencontainers.image.source https://github.com/scribd/objinsync
33
ADD . /app
44
WORKDIR /app

go.mod

Lines changed: 21 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,33 @@
11
module github.com/scribd/objinsync
22

3-
go 1.17
3+
go 1.20
44

55
require (
6-
github.com/aws/aws-sdk-go v1.41.6
7-
github.com/bmatcuk/doublestar v1.2.2
8-
github.com/getsentry/sentry-go v0.3.0
9-
github.com/prometheus/client_golang v1.1.0
10-
github.com/spf13/cobra v0.0.5
11-
github.com/stretchr/testify v1.4.0
12-
go.uber.org/atomic v1.4.0
13-
go.uber.org/zap v1.10.0
6+
github.com/aws/aws-sdk-go v1.45.28
7+
github.com/bmatcuk/doublestar v1.3.4
8+
github.com/getsentry/sentry-go v0.25.0
9+
github.com/prometheus/client_golang v1.17.0
10+
github.com/spf13/cobra v1.7.0
11+
github.com/stretchr/testify v1.8.4
12+
go.uber.org/atomic v1.11.0
13+
go.uber.org/zap v1.26.0
1414
)
1515

1616
require (
1717
github.com/beorn7/perks v1.0.1 // indirect
18+
github.com/cespare/xxhash/v2 v2.2.0 // indirect
1819
github.com/davecgh/go-spew v1.1.1 // indirect
19-
github.com/golang/protobuf v1.3.2 // indirect
20-
github.com/inconshreveable/mousetrap v1.0.0 // indirect
20+
github.com/inconshreveable/mousetrap v1.1.0 // indirect
2121
github.com/jmespath/go-jmespath v0.4.0 // indirect
22-
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
22+
github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0 // indirect
2323
github.com/pmezard/go-difflib v1.0.0 // indirect
24-
github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90 // indirect
25-
github.com/prometheus/common v0.6.0 // indirect
26-
github.com/prometheus/procfs v0.0.3 // indirect
27-
github.com/spf13/pflag v1.0.3 // indirect
28-
go.uber.org/multierr v1.1.0 // indirect
29-
golang.org/x/sys v0.0.0-20210423082822-04245dca01da // indirect
30-
gopkg.in/yaml.v2 v2.2.8 // indirect
24+
github.com/prometheus/client_model v0.5.0 // indirect
25+
github.com/prometheus/common v0.45.0 // indirect
26+
github.com/prometheus/procfs v0.12.0 // indirect
27+
github.com/spf13/pflag v1.0.5 // indirect
28+
go.uber.org/multierr v1.11.0 // indirect
29+
golang.org/x/sys v0.13.0 // indirect
30+
golang.org/x/text v0.13.0 // indirect
31+
google.golang.org/protobuf v1.31.0 // indirect
32+
gopkg.in/yaml.v3 v3.0.1 // indirect
3133
)

0 commit comments

Comments
 (0)