asterisk-ari 0.3.0

Asterisk ARI client
Documentation

name: Build
on:
  push:
    branches:
      - main
  pull_request:
  schedule:
    - cron: '00 01 * * *'

jobs:
  check:
    name: Check
    runs-on: ubuntu-latest
    steps:
      - name: Checkout sources
        uses: actions/checkout@v4

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

      - uses: Swatinem/rust-cache@v2

      - name: Run cargo check
        run: cargo check --all --all-features

      - name: Run cargo test
        run: cargo test --lib --all-features

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

      - name: Run cargo clippy
        run: cargo clippy -- -D warnings