Skip to content

Commit

Permalink
Update Go and Go deps (#144)
Browse files Browse the repository at this point in the history
  • Loading branch information
felicianotech committed Jun 19, 2022
1 parent ed1b539 commit 8980867
Show file tree
Hide file tree
Showing 3 changed files with 88 additions and 54 deletions.
18 changes: 12 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ workflows:
jobs:
- test
- gor/release:
version: "1.7.0"
version: "1.9.2"
go-version: "1.18.3"
dry-run: true
post-steps:
Expand Down Expand Up @@ -62,7 +62,7 @@ workflows:
# Simplified SemVer regex
only: /^v\d+\.\d+\.\d+$/
- gor/release:
version: "1.7.0"
version: "1.9.2"
go-version: "1.18.3"
filters:
branches:
Expand Down Expand Up @@ -128,10 +128,16 @@ jobs:
- attach_workspace:
at: .
- run: |
V1=""
if uname -m | grep "x86_64"; then
V1="_v1"
fi
if [ $OSD_FAMILY == "linux" ]; then
./dist/sonar_linux_$(dpkg --print-architecture)/sonar version
./dist/sonar_linux_$(dpkg --print-architecture)${V1}/sonar version
elif [ $OSD_FAMILY == "darwin" ]; then
./dist/sonar_darwin_amd64/sonar version
./dist/sonar_darwin_amd64${V1}/sonar version
else
echo "Unsupported OS and/or architecture when testing the Sonar binary." && exit 1
fi
Expand All @@ -141,14 +147,14 @@ jobs:
- attach_workspace:
at: .
- run: |
./dist/sonar_windows_amd64/sonar version
./dist/sonar_windows_amd64_v1/sonar version
functional-tests:
executor: linux-amd64
steps:
- attach_workspace:
at: .
- run: |
mv ./dist/sonar_linux_amd64/sonar ~/bin/
mv ./dist/sonar_linux_amd64_v1/sonar ~/bin/
output=$(sonar images list ftechtest)
Expand Down
34 changes: 18 additions & 16 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ require (
github.com/schollz/progressbar/v3 v3.8.6
github.com/sirupsen/logrus v1.8.1
github.com/spf13/cobra v1.4.0
github.com/spf13/viper v1.10.1
github.com/spf13/viper v1.12.0
)

require (
github.com/docker/docker v20.10.12+incompatible
github.com/hashicorp/go-version v1.4.0
github.com/hashicorp/go-version v1.5.0
)

require (
Expand All @@ -28,39 +28,41 @@ require (
github.com/docker/distribution v2.7.1+incompatible // indirect
github.com/docker/go-connections v0.4.0 // indirect
github.com/docker/go-units v0.4.0 // indirect
github.com/fsnotify/fsnotify v1.5.1 // indirect
github.com/fsnotify/fsnotify v1.5.4 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/inconshreveable/mousetrap v1.0.0 // indirect
github.com/magiconair/properties v1.8.5 // indirect
github.com/magiconair/properties v1.8.6 // indirect
github.com/mattn/go-runewidth v0.0.13 // indirect
github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db // indirect
github.com/mitchellh/mapstructure v1.4.3 // indirect
github.com/mitchellh/mapstructure v1.5.0 // indirect
github.com/moby/sys/mount v0.2.0 // indirect
github.com/moby/sys/mountinfo v0.5.0 // indirect
github.com/moby/term v0.0.0-20210619224110-3f7ff695adc6 // indirect
github.com/morikuni/aec v1.0.0 // indirect
github.com/opencontainers/image-spec v1.0.2 // indirect
github.com/opencontainers/runc v1.1.0 // indirect
github.com/pelletier/go-toml v1.9.4 // indirect
github.com/pelletier/go-toml v1.9.5 // indirect
github.com/pelletier/go-toml/v2 v2.0.1 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/rivo/uniseg v0.2.0 // indirect
github.com/spf13/afero v1.6.0 // indirect
github.com/spf13/cast v1.4.1 // indirect
github.com/spf13/afero v1.8.2 // indirect
github.com/spf13/cast v1.5.0 // indirect
github.com/spf13/jwalterweatherman v1.1.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/subosito/gotenv v1.2.0 // indirect
github.com/subosito/gotenv v1.3.0 // indirect
go.opencensus.io v0.23.0 // indirect
golang.org/x/crypto v0.0.0-20220131195533-30dcbda58838 // indirect
golang.org/x/net v0.0.0-20211216030914-fe4d6282115f // indirect
golang.org/x/sys v0.0.0-20220128215802-99c3d69c2c27 // indirect
golang.org/x/crypto v0.0.0-20220411220226-7b82a4e95df4 // indirect
golang.org/x/net v0.0.0-20220520000938-2e3eb7b945c2 // indirect
golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a // indirect
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 // indirect
golang.org/x/text v0.3.7 // indirect
google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa // indirect
google.golang.org/grpc v1.43.0 // indirect
google.golang.org/protobuf v1.27.1 // indirect
gopkg.in/ini.v1 v1.66.2 // indirect
google.golang.org/genproto v0.0.0-20220519153652-3a47de7e79bd // indirect
google.golang.org/grpc v1.46.2 // indirect
google.golang.org/protobuf v1.28.0 // indirect
gopkg.in/ini.v1 v1.66.4 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.0 // indirect
)

0 comments on commit 8980867

Please sign in to comment.