name: Test suite on: workflow_dispatch: pull_request: push: branches: - main tags-ignore: - "*" jobs: test: strategy: matrix: platform: - macos - ubuntu - windows toolchain: - stable - 1.60.0 name: Test ${{ matrix.platform }} with Rust ${{ matrix.toolchain }} runs-on: "${{ matrix.platform }}-latest" steps: - uses: actions/checkout@v2 - uses: actions-rs/toolchain@v1 with: profile: minimal toolchain: "${{ matrix.toolchain }}" override: true - name: Run test suite uses: actions-rs/cargo@v1 with: command: test - name: Check that CLI runs run: cargo run -p watchexec-cli -- -1 echo