Skip to content

refactor: Add a small amount of logging #9

refactor: Add a small amount of logging

refactor: Add a small amount of logging #9

Workflow file for this run

name: Build & Test
on:
push:
paths:
- "**/Cargo.toml"
- "**/Cargo.lock"
- "src/**"
- "tests/**"
- "examples/**"
- ".github/workflows/rust.yml"
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
max-parallel: 3
fail-fast: false
steps:
- uses: actions/checkout@v1
- uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Fetch Dependencies
run: cargo fetch
- name: Build
run: cargo build --all-features
- name: Run tests
run: cargo test
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- run: rustup component add clippy
- uses: clechasseur/rs-clippy-check@v3
with:
args: --all-features