label-logger 0.3.0

Cargo-like logging library
Documentation
name: Rust CI
on: [push, pull_request]

jobs:
  check:
    name: Check, Test, Format and Clippy
    runs-on: ubuntu-latest
    steps:
      - name: Checkout repository
        uses: actions/checkout@v2

      - name: Install Rust toolchain
        uses: actions-rs/toolchain@v1
        with:
          toolchain: stable
          components: rustfmt, clippy

      - name: Cache Rust dependencies
        uses: Swatinem/rust-cache@v2

      - name: Cargo Check
        uses: actions-rs/cargo@v1
        with:
          command: check
          args: --all-features

      - name: Cargo Tests
        uses: actions-rs/cargo@v1
        with:
          command: test
          args: --all-features

      - name: Format Check
        uses: actions-rs/cargo@v1
        with:
          command: fmt
          args: --all -- --check

      - name: Clippy Check
        uses: actions-rs/cargo@v1
        with:
          command: clippy
          args: -- -D warnings