version: 2

jobs:
  build:
    working-directory: ~/sonos_discovery
    docker:
      - image: liuchong/rustup:nightly
    steps:
      - checkout
      - run: rustup update nightly
      - run: rustup show
      - run: rustup run nightly cargo run --bin sonos_discovery

version: 2

jobs:
  build:
    working-directory: ~/sonos_discovery
    docker:
      - image: liuchong/rustup:nightly
    steps:
      - checkout
      - run:
        command: |
          rustup update nightly
          rustup show
          rustup run nightly cargo run --bin sonos_discovery

Put commands in single block
Put commands in single block
