title: circleCI CLI - Cannot find a job named `build` to run in the `jobs:` section of your configuration file
body: <p>I'm using the circleCI CLI locally to test my <code>.circleci/config.yml</code>. This is what it looks like:</p>
  
  <pre><code>version: 2.1
  
  jobs:
    test:
      docker:
        - image: circleci/node:4.8.2
      steps:
        - checkout
        - run: echo 'test step'
  
  workflows:
    version: 2
    workflow:
      jobs:
        - test
  </code></pre>
  
  <p>This fails with the following error: </p>
  
  <blockquote>
    <p>* Cannot find a job named <code>build</code> to run in the <code>jobs:</code> section of your configuration file.
    If you expected a workflow to run, check your config contains a top-level key called 'workflows:'</p>
  </blockquote>
  
  <p>The 'hello world' workflow from <a href="https://circleci.com/docs/2.0/local-cli/" rel="noreferrer">the CLI docs</a> works fine.</p>
  
  <p>What am I missing here?</p>