Fix clippy lint needless_doctest_main #221
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Build | |
| run: cargo build --verbose | |
| - name: Build with OTel feature | |
| run: cargo build --verbose --features otel | |
| - name: Run tests | |
| run: cargo test --verbose | |
| - name: Run tests with OTel feature | |
| run: cargo test --verbose --features otel | |
| - name: rustfmt | |
| run: cargo fmt --all --check |