librius 0.5.1

A personal library manager CLI written in Rust.
Documentation
name: Rust Build & Test

on:
  push:
    branches: [ main ]
  pull_request:
  workflow_dispatch:

jobs:
  check:
    name: Lint & Test
    runs-on: ubuntu-latest
    permissions:
      contents: read
    
    steps:
      - name: Checkout
        uses: actions/checkout@v4
      
      - name: Install Rust
        uses: dtolnay/rust-toolchain@stable
      
      - name: Install rustfmt and clippy components
        run: |
          rustup component add rustfmt
          rustup component add clippy
      
      - name: Format Check
        run: cargo fmt --all -- --check
      
      - name: Clippy Check
        run: cargo clippy --all-targets --all-features -- -D warnings
      
      - name: Run Tests
        run: cargo test --all