Veilid 0.5.1 upgrade #17
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: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| lint_and_test: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 120 | |
| steps: | |
| - name: Set up Rust toolchain | |
| uses: hecrj/setup-rust-action@v2 | |
| with: | |
| rust-version: stable | |
| - 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: Install cargo-nextest | |
| run: cargo install cargo-nextest --locked | |
| - name: Run tests with retries | |
| env: | |
| RUST_MIN_STACK: 8388608 | |
| # Retries configured in nextest.toml (no CLI override - P2P tests get 15 retries) | |
| # --no-fail-fast: run all tests even when some fail, so we see full results | |
| run: cargo nextest run --test-threads=1 --no-fail-fast | |