Skip to content

Improve LexerErrorKind and Loc documentation #470

Improve LexerErrorKind and Loc documentation

Improve LexerErrorKind and Loc documentation #470

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
name: 'Build and test'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Get stable toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Build
run: cargo build --verbose
- name: Test
run: cargo test
formatting:
name: 'Check formatting'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Get Rust stable toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: rustfmt
override: true
- name: Check formatting
run: cargo fmt --all -- --check
clippy:
name: 'Check lints'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Get Rust stable toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Check lints
run: cargo clippy --all-targets --all