Skip to content

Output probable line of first syntax error #31

Output probable line of first syntax error

Output probable line of first syntax error #31

Workflow file for this run

name: Build & Test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build-and-test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
fail-fast: false
steps:
- name: Clone repo
uses: actions/checkout@v3
with:
submodules: recursive
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Build
uses: actions-rs/cargo@v1
with:
command: build
- name: Check Formatting
uses: actions-rs/cargo@v1
with:
command: fmt
args: --check
- name: Test
uses: actions-rs/cargo@v1
with:
command: test
args: -- --nocapture