Skip to content

Fix Errors about Cursor when parsing source with no "\r\n" in the end. #237

Fix Errors about Cursor when parsing source with no "\r\n" in the end.

Fix Errors about Cursor when parsing source with no "\r\n" in the end. #237

Workflow file for this run

name: Rust
on:
push:
branches: [main]
pull_request:
branches: [main]
env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: 1
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- name: Setup rustfmt and clippy
uses: dtolnay/rust-toolchain@v1
with:
toolchain: stable
components: rustfmt, clippy
- name: Build crate
run: cargo build --verbose
- name: Clippy Check
run: cargo clippy --verbose
- name: Test crate
run: cargo test --verbose
- if: matrix.os == 'ubuntu-latest'
name: cargo-deny
uses: EmbarkStudios/[email protected]