github.com/nikandfor/loc@v0.5.1/.circleci/config.yml (about) 1 version: 2 2 jobs: 3 go1.21: &base 4 docker: 5 - image: cimg/go:1.21 6 steps: 7 - run: go version 8 - checkout 9 - run: go test -tags nikandfor_loc_unsafe -race -v ./... 10 11 go1.20: 12 <<: *base 13 docker: 14 - image: cimg/go:1.20 15 16 go1.19: 17 <<: *base 18 docker: 19 - image: cimg/go:1.19 20 21 go1.18: 22 <<: *base 23 docker: 24 - image: cimg/go:1.18 25 26 go1.17: 27 <<: *base 28 docker: 29 - image: cimg/go:1.17 30 31 go1.16: 32 <<: *base 33 docker: 34 - image: circleci/golang:1.16 35 working_directory: /go/wd 36 37 go1.15: 38 <<: *base 39 docker: 40 - image: circleci/golang:1.15 41 42 go1.14: 43 <<: *base 44 docker: 45 - image: circleci/golang:1.14 46 47 go1.21_safe: &base_safe 48 <<: *base 49 steps: 50 - run: go version 51 - checkout 52 - run: go test -race -v ./... 53 54 go1.20_safe: 55 <<: *base_safe 56 docker: 57 - image: cimg/go:1.20 58 59 go1.19_safe: 60 <<: *base_safe 61 docker: 62 - image: cimg/go:1.19 63 64 go1.18_safe: 65 <<: *base_safe 66 docker: 67 - image: cimg/go:1.18 68 69 workflows: 70 version: 2 71 build: 72 jobs: 73 - go1.21_safe 74 - go1.20_safe 75 - go1.19_safe 76 - go1.18_safe 77 - go1.21 78 - go1.20 79 - go1.19 80 - go1.18 81 - go1.17 82 #- go1.16 test passes in official docker image (arm64), but not in circleci 83 - go1.15 84 - go1.14