Skip to content

Merge pull request #19 from M-Allahham/main #127

Merge pull request #19 from M-Allahham/main

Merge pull request #19 from M-Allahham/main #127

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