diff --git a/.circleci/config.yml b/.circleci/config.yml index 5d34aa6..81d1ee5 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -8,19 +8,19 @@ shared: &shared command: go test -race -v ./... jobs: - "go-1.13": + "go-1.21": docker: - - image: circleci/golang:1.13 + - image: cimg/go:1.21 <<: *shared - "go-1.14": + "go-1.22": docker: - - image: circleci/golang:1.14 + - image: cimg/go:1.22 <<: *shared validate: docker: - - image: circleci/golang:1.14 + - image: cimg/go:1.22 steps: - checkout - run: @@ -41,6 +41,6 @@ workflows: version: 2 build: jobs: - - "go-1.13" - - "go-1.14" + - "go-1.21" + - "go-1.22" - validate diff --git a/go.mod b/go.mod index 1ffad6a..f4e2593 100644 --- a/go.mod +++ b/go.mod @@ -1,12 +1,18 @@ module github.com/ActiveState/langtools -go 1.12 +go 1.22 require ( - github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751 // indirect - github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d // indirect github.com/ericlagergren/decimal v0.0.0-20191206042408-88212e6cfca9 github.com/stretchr/testify v1.4.0 golang.org/x/text v0.3.2 gopkg.in/alecthomas/kingpin.v2 v2.2.6 ) + +require ( + github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751 // indirect + github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d // indirect + github.com/davecgh/go-spew v1.1.0 // indirect + github.com/pmezard/go-difflib v1.0.0 // indirect + gopkg.in/yaml.v2 v2.2.2 // indirect +) diff --git a/go.sum b/go.sum index e0afea2..1d5cf17 100644 --- a/go.sum +++ b/go.sum @@ -8,7 +8,6 @@ github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8 github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/ericlagergren/decimal v0.0.0-20191206042408-88212e6cfca9 h1:mMVotm9OVwoOS2IFGRRS5AfMTFWhtf8wj34JEYh47/k= github.com/ericlagergren/decimal v0.0.0-20191206042408-88212e6cfca9/go.mod h1:ZWP59etEywfyMG2lAqnoi3t8uoiZCiTmLtwt6iESIsQ= -github.com/lib/pq v1.0.0 h1:X5PMW56eZitiTeO7tKzZxFCSpbFZJtkMMooicw2us9A= github.com/lib/pq v1.0.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=