github.com/nikandfor/errors@v0.8.0/.circleci/config.yml (about)

     1  version: 2
     2  jobs:
     3    go1.20: &base
     4      docker:
     5        - image: cimg/go:1.20
     6      steps:
     7        - run: go version
     8        - checkout
     9        - run: go test -race -coverprofile=coverage.txt -covermode=atomic -v ./...
    10        - run: bash <(curl -s https://codecov.io/bash)
    11  
    12    go1.19: &base_next
    13      <<: *base
    14      docker:
    15        - image: cimg/go:1.19
    16      steps:
    17        - run: go version
    18        - checkout
    19        - run: go test -race -v ./...
    20  
    21    go1.18:
    22      <<: *base_next
    23      docker:
    24        - image: cimg/go:1.18
    25  
    26    go1.17:
    27      <<: *base_next
    28      docker:
    29        - image: cimg/go:1.17
    30  
    31    go1.16:
    32      <<: *base_next
    33      docker:
    34        - image: circleci/golang:1.16
    35      working_directory: /go/wd
    36  
    37  workflows:
    38    version: 2
    39    build:
    40      jobs:
    41        - go1.20
    42        - go1.19
    43        - go1.18
    44        - go1.17
    45        - go1.16