a3s-boot 0.1.3

Adapter-first modular Rust web framework for A3S inspired by Nest.js
Documentation
name: CI

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

env:
  CARGO_TERM_COLOR: always

jobs:
  rust:
    name: Rust
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4

      - name: Install Rust
        uses: dtolnay/rust-toolchain@stable
        with:
          components: rustfmt, clippy

      - name: Format check
        run: cargo fmt --all -- --check

      - name: Test core without default adapter
        run: cargo test --all-targets --no-default-features

      - name: Test default adapter
        run: cargo test --all-targets

      - name: Clippy core without default adapter
        run: cargo clippy --all-targets --no-default-features -- -D warnings

      - name: Clippy default adapter
        run: cargo clippy --all-targets -- -D warnings