Implement retry mechanism with exponential backoff for DHT record ret… #214
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, pull_request] | |
| jobs: | |
| lint_and_test: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, macOS-latest] | |
| rust: [stable] | |
| steps: | |
| - name: Set up Rust toolchain | |
| uses: hecrj/setup-rust-action@v2 | |
| with: | |
| rust-version: ${{ matrix.rust }} | |
| - name: Check out the code | |
| uses: actions/checkout@v4 | |
| - name: Install Clippy | |
| run: rustup component add clippy | |
| - name: Run Clippy | |
| run: cargo clippy --all-targets --all-features -- -D warnings | |
| - name: Run tests | |
| env: | |
| RUST_MIN_STACK: 8388608 | |
| run: cargo test --verbose -- --test-threads=1 --nocapture |