Skip to content

Commit

Permalink
feat: bump minimum go version to 1.18 (#235)
Browse files Browse the repository at this point in the history
Signed-off-by: Phil Adams <phil_adams@us.ibm.com>
  • Loading branch information
padamstx authored Feb 24, 2023
1 parent c484892 commit a5b12e5
Show file tree
Hide file tree
Showing 5 changed files with 77 additions and 57 deletions.
7 changes: 3 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@ language: go
dist: bionic

go:
- 1.16.x
- 1.17.x
- 1.18.x
- 1.19.x
- 1.20.x

notifications:
email: true
Expand All @@ -20,7 +19,7 @@ before_install:
- pyenv global 3.8

install:
- curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b $(go env GOPATH)/bin v1.49.0
- curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b $(go env GOPATH)/bin v1.51.2
- curl -sfL https://raw.githubusercontent.com/securego/gosec/master/install.sh | sh -s -- -b $(go env GOPATH)/bin

script:
Expand All @@ -36,5 +35,5 @@ deploy:
script: npm run semantic-release
skip_cleanup: true
on:
go: '1.16.x'
go: '1.18.x'
branch: main
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ GOSEC=gosec
COVERAGE = -coverprofile=coverage.txt -covermode=atomic

all: tidy test lint
travis-ci: test-cov lint scan-gosec tidy
travis-ci: tidy test-cov lint scan-gosec

test:
${GO} test `${GO} list ./...`
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ Service Name | Package name
* An [IBM Cloud][ibm-cloud-onboarding] account.
* An IAM API key to allow the SDK to access your account. Create one
[here](https://cloud.ibm.com/iam/apikeys).
* Go version 1.16 or above.
* Go version 1.18 or above.

## Installation
The current version of this SDK: 0.31.6
Expand Down
33 changes: 29 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,12 +1,37 @@
module github.com/IBM/platform-services-go-sdk

go 1.16
go 1.18

require (
github.com/IBM/go-sdk-core/v5 v5.10.2
github.com/IBM/go-sdk-core/v5 v5.13.0
github.com/go-openapi/strfmt v0.21.3
github.com/google/uuid v1.3.0
github.com/onsi/ginkgo v1.16.5
github.com/onsi/gomega v1.18.0
github.com/stretchr/testify v1.8.0
github.com/onsi/gomega v1.27.1
github.com/stretchr/testify v1.8.1
)

require (

This comment has been minimized.

Copy link
@padamstx

padamstx Feb 24, 2023

Author Member

This section was added automatically by go mod tidy.

github.com/asaskevich/govalidator v0.0.0-20210307081110-f21760c49a8d // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/fsnotify/fsnotify v1.6.0 // indirect
github.com/go-openapi/errors v0.20.3 // indirect
github.com/go-playground/locales v0.14.1 // indirect
github.com/go-playground/universal-translator v0.18.1 // indirect
github.com/go-playground/validator/v10 v10.11.2 // indirect
github.com/google/go-cmp v0.5.9 // indirect
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
github.com/hashicorp/go-retryablehttp v0.7.2 // indirect
github.com/leodido/go-urn v1.2.1 // indirect
github.com/mitchellh/mapstructure v1.5.0 // indirect
github.com/nxadm/tail v1.4.8 // indirect
github.com/oklog/ulid v1.3.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
go.mongodb.org/mongo-driver v1.11.2 // indirect
golang.org/x/crypto v0.5.0 // indirect
golang.org/x/net v0.7.0 // indirect
golang.org/x/sys v0.5.0 // indirect
golang.org/x/text v0.7.0 // indirect
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
Loading

0 comments on commit a5b12e5

Please sign in to comment.