Rewrite lexer and parser #941
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and run tests | |
on: | |
push: | |
branches: [ main ] | |
paths: | |
- '**.rs' | |
- '**/Cargo.*' | |
pull_request: | |
branches: [ main ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build | |
run: cargo build --verbose | |
- name: Check jaq-interpret without default features | |
working-directory: jaq-interpret | |
run: cargo check --no-default-features | |
- name: Check jaq-core without default features | |
working-directory: jaq-core | |
run: cargo check --no-default-features | |
- name: Check jaq-std without default features | |
working-directory: jaq-std | |
run: cargo check --no-default-features | |
- name: Clippy | |
run: cargo clippy -- -Dwarnings | |
- name: Run tests | |
run: cargo test --verbose |