Skip to content

Update CI Configuration (#113) #50

Update CI Configuration (#113)

Update CI Configuration (#113) #50

Workflow file for this run

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