version: 2
jobs:
  go-version-latest:
    docker:
      - image: cimg/go:1.20-node
    resource_class: large
    steps:
      - checkout
      - run: make
      - run: make alltest
  go-version-last:
    docker:
      - image: cimg/go:1.19-node
    resource_class: large
    steps:
      - checkout
      - run: make
      - run: make alltest

workflows:
  version: 2
  build_and_test:
    jobs:
      - go-version-latest
      - go-version-last
