message: Remove redundant doctests
diff: @@ -80,44 +80,6 @@ jobs:
  rustup update
  cargo test reconnect_test --features=fault_injection -- --ignored
  - test_documentation:
  - name: test (documentation)
  - runs-on: ubuntu-latest
  - steps:
  - - name: Cache rust
  - uses: actions/cache@v3
  - env:
  - cache-name: cache-rust
  - with:
  - path: target
  - key: ${{ runner.os }}-${{ env.cache-name }}
  - restore-keys: |
  - ${{ runner.os }}-
  -
  - - name: Check out repository
  - uses: actions/checkout@v2
  -
  - - name: Set up go
  - uses: actions/setup-go@v2
  - with:
  - go-version: '1.16'
  -
  - - name: install nats-server
  - run: go get github.com/nats-io/nats-server/v2@v2.7.4
  -
  - - name: Start nats-server
  - run: nats-server --jetstream &
  -
  - - name: Configure nats-server
  - run: echo 'localhost:4444 demo.nats.io' | sudo tee -a /etc/hosts
  -
  - - name: Run documentation tests
  - env:
  - RUST_LOG: trace
  - run: |
  - rustup update
  - cargo test --doc
  -
  check_format:
  name: check (format)
  runs-on: ubuntu-latest
  