on:
  push:
    branches: [master]
  pull_request:
name: Minimum Supported Rust Version
jobs:
  check:
    runs-on: ubuntu-latest
    steps:
      - uses: actions-rs/toolchain@v1
        with:
          profile: minimal
          toolchain: 1.57.0 # time crate
          override: true
      - uses: actions/checkout@v2
      - name: cargo +1.56.0 check
        uses: actions-rs/cargo@v1
        with:
          command: check
