feat: configure DEFAULT_BUF_SIZE from env variable #8
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: Check | |
| on: [push, pull_request] | |
| env: | |
| RUST_BACKTRACE: 1 | |
| jobs: | |
| rustfmt: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: dtolnay/rust-toolchain@nightly | |
| with: | |
| components: rustfmt | |
| - name: Check format | |
| run: cargo fmt --all --check | |
| check: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| rust-toolchain: | |
| - nightly | |
| - nightly-2025-12-12 | |
| - stable | |
| env: | |
| RUSTC_BOOTSTRAP: "${{ matrix.rust-toolchain == 'stable' && '1' || '' }}" | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: dtolnay/rust-toolchain@master | |
| with: | |
| toolchain: ${{ matrix.rust-toolchain }} | |
| components: clippy | |
| - uses: taiki-e/install-action@cargo-hack | |
| - name: Clippy | |
| run: cargo hack clippy --feature-powerset -- -D warnings | |
| - name: Test | |
| run: cargo hack test --feature-powerset -- --nocapture |