Skip to content

Merge pull request #11 from slack2450/main #102

Merge pull request #11 from slack2450/main

Merge pull request #11 from slack2450/main #102

Workflow file for this run

name: Build and test
on: [push, pull_request]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build
run: cargo build --workspace --all-features --verbose
- name: Build examples
run: cargo build --workspace --all-features --examples --verbose
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: rustup component add clippy
- name: Check formatting
run: cargo fmt -- --check
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-targets --all-features