Move parser to its own module #2
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: ci | |
on: [push, pull_request] | |
env: | |
RUSTFLAGS: "-Dwarnings" | |
jobs: | |
test: | |
name: Build and test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup rust | |
run: rustup toolchain install stable --profile minimal | |
- name: Install nextest to run tests | |
uses: taiki-e/install-action@nextest | |
- name: Run tests | |
run: cargo nextest run --all-features --workspace | |
- name: Check clippy | |
run: cargo clippy --all-targets --all-features --workspace | |
fmt: | |
name: Check Formatting | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup rust | |
run: rustup toolchain install stable --profile minimal | |
- name: Run formatter | |
run: cargo fmt --check |