Skip to content

Return Result from all generate_* methods #2928

Return Result from all generate_* methods

Return Result from all generate_* methods #2928

Workflow file for this run

name: Workspace
on:
pull_request:
paths-ignore:
- '**/README.md'
- '**/CHANGELOG.md'
- .github/**
push:
branches: master
paths-ignore:
- '**/README.md'
- '**/CHANGELOG.md'
- .github/**
env:
CARGO_INCREMENTAL: 0
RUSTFLAGS: "-Dwarnings"
RUSTDOCFLAGS: "-Dwarnings"
jobs:
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: RustCrypto/actions/cargo-cache@master
- uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.71.0
components: clippy
- run: cargo clippy --all --all-features -- -D warnings
rustfmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
components: rustfmt
- run: cargo fmt --all -- --check