with_locals 0.3.3

Function attribute to return references to locals by using CPS
Documentation
name: Cron CI

on:
  push:
    branches:
      - master
  schedule:
    - cron: '0 8 * * 1,5'

jobs:
  # == TEST (No UI) == #
  test-no-ui:
    name: (Check & Build &) Test (No UI)
    runs-on: ${{ matrix.os }}
    strategy:
      fail-fast: false
      matrix:
        os:
          - ubuntu-latest
          - macos-latest
          - windows-latest
        rust-toolchains:
          - beta
          - nightly
    steps:
      - name: Install Rust toolchain
        uses: actions-rs/toolchain@v1
        with:
          profile: default
          override: true
          toolchain: ${{ matrix.rust-toolchains }}

      - name: Clone repo
        uses: actions/checkout@v2

      - name: Cargo +nightly test (no UI)
        if: matrix.rust-toolchains == 'nightly'
        uses: actions-rs/cargo@v1
        env:
          CI_SKIP_UI_TESTS: "1"
        with:
          command: test
          args: --features nightly

      - name: Cargo test (no UI)
        if: matrix.rust-toolchains != 'nightly'
        uses: actions-rs/cargo@v1
        env:
          CI_SKIP_UI_TESTS: "1"
        with:
          command: test