Skip to content

chore: update to v1.7.1 & update examples #101

chore: update to v1.7.1 & update examples

chore: update to v1.7.1 & update examples #101

Workflow file for this run

name: build
on:
workflow_dispatch:
push:
paths:
- "src/**"
- "Cargo.toml"
pull_request:
paths:
- "src/**"
- "Cargo.toml"
jobs:
compile:
runs-on: ubuntu-22.04
env:
RUST_BACKTRACE: 1
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
- uses: Swatinem/rust-cache@v2
- run: cargo build --all-features --verbose
- run: cargo test --all-features --verbose
rustfmt:
name: rustfmt
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
components: rustfmt
- run: cargo fmt --all --check