Skip to content

Use current_thread in examples to reduce dependent features #22

Use current_thread in examples to reduce dependent features

Use current_thread in examples to reduce dependent features #22

Workflow file for this run

on: [push, pull_request]
name: CI
jobs:
build_and_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- run: cargo test --all-features
- run: cargo build --release --all-features
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: rustup component add clippy
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features