diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e7f68c8..45a7c64 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,7 +12,7 @@ jobs: GO111MODULE: "on" strategy: matrix: - go-version: [1.16.x] + go-version: [1.17.x] os: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.os }} steps: diff --git a/build/Dockerfile b/build/Dockerfile index e8d7fe4..fc4ded7 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=${BUILDPLATFORM} golang:1.16.0-alpine AS build +FROM --platform=${BUILDPLATFORM} golang:1.17.0-alpine AS build RUN apk update RUN apk add --no-cache git diff --git a/build/Dockerfile-bin b/build/Dockerfile-bin index 3f4ab95..210e0ca 100644 --- a/build/Dockerfile-bin +++ b/build/Dockerfile-bin @@ -1,4 +1,4 @@ -FROM --platform=${BUILDPLATFORM} golang:1.16.0-alpine AS build +FROM --platform=${BUILDPLATFORM} golang:1.17.0-alpine AS build RUN apk update RUN apk add --no-cache git diff --git a/go.mod b/go.mod index 8d079f4..35a8675 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/transifex/cli -go 1.16 +go 1.17 require ( github.com/blang/semver v3.5.1+incompatible @@ -11,10 +11,43 @@ require ( github.com/manifoldco/promptui v0.8.0 github.com/mattn/go-isatty v0.0.14 github.com/rhysd/go-github-selfupdate v1.2.3 + github.com/urfave/cli/v2 v2.3.0 + gopkg.in/ini.v1 v1.62.0 +) + +require ( + github.com/Microsoft/go-winio v0.4.16 // indirect + github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e // indirect + github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d // indirect + github.com/emirpasic/gods v1.12.0 // indirect + github.com/go-git/gcfg v1.5.0 // indirect + github.com/go-git/go-billy/v5 v5.1.0 // indirect + github.com/golang/protobuf v1.3.2 // indirect + github.com/google/go-github/v30 v30.1.0 // indirect + github.com/google/go-querystring v1.0.0 // indirect + github.com/gosimple/unidecode v1.0.1 // indirect + github.com/imdario/mergo v0.3.12 // indirect + github.com/inconshreveable/go-update v0.0.0-20160112193335-8152e7eb6ccf // indirect + github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect + github.com/juju/ansiterm v0.0.0-20180109212912-720a0952cc2a // indirect + github.com/kevinburke/ssh_config v0.0.0-20201106050909-4977a11b4351 // indirect + github.com/lunixbochs/vtclean v0.0.0-20180621232353-2d01aacdc34a // indirect + github.com/mattn/go-colorable v0.1.9 // indirect + github.com/mitchellh/go-homedir v1.1.0 // indirect + github.com/russross/blackfriday/v2 v2.0.1 // indirect + github.com/sergi/go-diff v1.1.0 // indirect + github.com/shurcooL/sanitized_anchor_name v1.0.0 // indirect github.com/smartystreets/goconvey v1.6.4 // indirect github.com/stretchr/testify v1.7.0 // indirect - github.com/urfave/cli/v2 v2.3.0 + github.com/tcnksm/go-gitconfig v0.1.2 // indirect + github.com/ulikunitz/xz v0.5.9 // indirect + github.com/xanzy/ssh-agent v0.3.0 // indirect + golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2 // indirect + golang.org/x/net v0.0.0-20210326060303-6b1517762897 // indirect + golang.org/x/oauth2 v0.0.0-20181106182150-f42d05182288 // indirect + golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c // indirect golang.org/x/term v0.0.0-20210220032956-6a3ed077a48d // indirect - gopkg.in/ini.v1 v1.62.0 + google.golang.org/appengine v1.3.0 // indirect + gopkg.in/warnings.v0 v0.1.2 // indirect gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect )