Use default headers #69
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
| on: [push, pull_request] | |
| name: CI | |
| jobs: | |
| check: | |
| name: test | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| runtime: ["blocking", "default"] | |
| tls: ["native-tls", "rustls"] | |
| steps: | |
| - name: Checkout sources | |
| uses: actions/checkout@v3 | |
| - name: Install stable toolchain | |
| uses: dtolnay/rust-toolchain@stable | |
| - name: Check formatting | |
| run: cargo fmt --all -- --check | |
| - name: Check clippy | |
| run: cargo clippy --features ${{ matrix.runtime }},${{ matrix.tls }} -- -D warnings | |
| - name: Test with ${{ matrix.runtime }} and ${{ matrix.tls }} | |
| run: cargo test --features ${{ matrix.runtime }},${{ matrix.tls }} | |
| - name: Async test | |
| run: cargo test |