dotcfg 0.2.0

Flexible config management for Rust applications
Documentation
on: [push, pull_request]

name: CI

jobs:
  check:
    name: Check
    runs-on: ubuntu-latest
    strategy:
      matrix:
        rust: [stable, beta, nightly]
    steps:
      - uses: actions/checkout@v6
      - uses: dtolnay/rust-toolchain@v1
        with:
          toolchain: ${{ matrix.rust }}
          components: rustfmt, clippy
      - uses: actions/cache@v4
        with:
          path: |

            ~/.cargo/registry/index/
            ~/.cargo/registry/cache/
            ~/.cargo/git/db/
            target/
          key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}-${{ matrix.rust }}
      - run: cargo check --all-features
      - run: cargo test --all-features
      - run: cargo test --no-default-features --features toml
      - run: cargo test --no-default-features --features json
      - run: cargo test --no-default-features --features yaml
      - run: cargo fmt --check
      - run: cargo clippy --all-features -- -D warnings