Skip to content

New Release

New Release #60

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