Skip to content

feat: add support for #[builder(into)] attribute #41

feat: add support for #[builder(into)] attribute

feat: add support for #[builder(into)] attribute #41

Workflow file for this run

name: Rust
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- name: Rust Cache
uses: Swatinem/rust-cache@v2
- name: Run tests (root)
run: cargo test --verbose --config 'patch.crates-io.typesafe_builder_derive.path="./typesafe_builder_derive"'
- name: Run tests (typesafe_builder_derive)
run: |
cd typesafe_builder_derive
cargo test --verbose
- name: Check formatting (typesafe_builder_derive)
run: |
cd typesafe_builder_derive
cargo fmt --all -- --check
- name: Run clippy (typesafe_builder_derive)
run: |
cd typesafe_builder_derive
cargo clippy -- -D warnings