wry 0.33.0

Cross-platform WebView rendering library
Documentation
name: fmt check

on:
  pull_request:
    paths:
      - 'src/**'
      - 'Cargo.toml'

jobs:
  clippy_fmt_check:
    runs-on: macos-latest

    steps:
      - uses: actions/checkout@v2
      - uses: actions-rs/toolchain@v1
        with:
          profile: minimal
          toolchain: stable
          override: true
          components: rustfmt,clippy
      - uses: Swatinem/rust-cache@v2
      - name: fmt
        uses: actions-rs/cargo@v1
        with:
          command: fmt
          args: --all -- --check
      - name: clippy
        uses: actions-rs/cargo@v1
        with:
          command: clippy
          args: --all --examples -- -D warnings