Moves from recursion parsing to stack parsing #148
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: Rust | |
on: | |
push: | |
branches: ["master"] | |
pull_request: | |
branches: ["master"] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
# Install Rust toolchain | |
- name: Install Rust toolchain | |
run: rustup toolchain install nightly | |
# Install rustfmt component for nightly toolchain | |
- name: Install rustfmt for nightly | |
run: rustup component add --toolchain nightly rustfmt | |
# Lint with fmt using nightly toolchain | |
- name: Lint with fmt | |
run: cargo +nightly fmt --all --check | |
# Run tests | |
- name: Run tests | |
run: cargo test --all |