Skip to content

Remove unnecessary clone on Span (#27) #10

Remove unnecessary clone on Span (#27)

Remove unnecessary clone on Span (#27) #10

Workflow file for this run

name: Test
on: [push, pull_request]
jobs:
test:
name: cargo test and examples
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- run: cargo test --all --all-features
- run: cargo run --example csv
- run: cd derive && cargo run --example simple_enum_derives && cargo run --example simple_struct_derives
fmt:
name: cargo fmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- run: cargo fmt --all -- --check
lint:
name: cargo clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- run: cargo clippy --all --all-features --all-targets -- -Dwarnings