diff --git a/.circleci/config.yml b/.circleci/config.yml index 608cb893..7c224148 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,9 +1,3 @@ -test_with_go_modules: &test_with_go_modules - steps: - - checkout - - run: go test ./... - - run: go vet ./... - test_without_go_modules: &test_without_go_modules working_directory: /go/src/github.com/graphql-go/graphql steps: @@ -12,27 +6,12 @@ test_without_go_modules: &test_without_go_modules - run: go test ./... - run: go vet ./... -defaults: &defaults - <<: *test_with_go_modules - version: 2 jobs: - golang:1.8.7: + golang:1.24.1: <<: *test_without_go_modules docker: - - image: circleci/golang:1.8.7 - golang:1.9.7: - <<: *test_without_go_modules - docker: - - image: circleci/golang:1.9.7 - golang:1.11: - <<: *defaults - docker: - - image: circleci/golang:1.11 - golang:latest: - <<: *defaults - docker: - - image: circleci/golang:latest + - image: cimg/go:1.24.1 coveralls: docker: - image: circleci/golang:latest @@ -46,8 +25,5 @@ workflows: version: 2 build: jobs: - - golang:1.8.7 - - golang:1.9.7 - - golang:1.11 - - golang:latest + - golang:1.24.1 - coveralls