From 6eab9620aad48582fd2a03eceef93d54e17a8a3d Mon Sep 17 00:00:00 2001 From: Dima Brusilovsky Date: Sun, 5 Sep 2021 11:41:51 +0300 Subject: [PATCH] fix: set travis build version to 1.17 * feat: remove commits by travis during builds * fix: bump travis version * build: update x/sys to support go 1.17 (#160) closes #159 closes Homebrew/homebrew-core#84484 Signed-off-by: Rui Chen * feat: bump version Co-authored-by: rui --- .goreleaser.yml | 1 + .travis.yml | 2 +- go.mod | 1 + go.sum | 2 ++ 4 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 395ee28584..012e8cc603 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -3,6 +3,7 @@ project_name: datree-cli release: prerelease: auto + before: hooks: # you may remove this if you don't need go generate diff --git a/.travis.yml b/.travis.yml index a54e3eb7d3..7ab1f70804 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,6 @@ language: go go: - - 1.16.7 + - 1.17 os: osx osx_image: xcode12.5 diff --git a/go.mod b/go.mod index 4b06b50c80..4b0d3985e9 100644 --- a/go.mod +++ b/go.mod @@ -18,6 +18,7 @@ require ( github.com/stretchr/testify v1.7.0 github.com/tklauser/go-sysconf v0.3.5 // indirect github.com/yannh/kubeconform v0.4.8 + golang.org/x/sys v0.0.0-20210902050250-f475640dd07b // indirect golang.org/x/text v0.3.3 // indirect gopkg.in/yaml.v2 v2.4.0 gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b diff --git a/go.sum b/go.sum index 7cd3eadcdb..33738d8a30 100644 --- a/go.sum +++ b/go.sum @@ -295,6 +295,8 @@ golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20210316164454-77fc1eacc6aa h1:ZYxPR6aca/uhfRJyaOAtflSHjJYiktO7QnJC5ut7iY4= golang.org/x/sys v0.0.0-20210316164454-77fc1eacc6aa/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210902050250-f475640dd07b h1:S7hKs0Flbq0bbc9xgYt4stIEG1zNDFqyrPwAX2Wj/sE= +golang.org/x/sys v0.0.0-20210902050250-f475640dd07b/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=