Skip to content

new version

new version #47

Workflow file for this run

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