new version #47
This file contains 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: | |
blocking: ["blocking"] | |
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 --no-default-features --features ${{ matrix.tls }},${{ matrix.blocking }} -- -D warnings | |
- name: Test with ${{ matrix.tls }} and ${{ matrix.blocking }} | |
run: cargo test --no-default-features --features ${{ matrix.tls }},${{ matrix.blocking }} | |
- name: Async test | |
run: cargo test |