Fix docstring for ExprItem #415
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: Cargo Build & Test | |
on: | |
push: | |
pull_request: | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build_and_test: | |
name: Compilation | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
toolchain: | |
- stable | |
# - beta | |
# - nightly | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Install Rust toolchain | |
run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }} | |
- name: Cache build artifacts | |
uses: Swatinem/rust-cache@e8e63cdbf2788df3801e6f9a81516b2ca8391886 | |
with: | |
cache-bin: "false" | |
prefix-key: "v2-maho" | |
- name: Install cargo-binstall | |
uses: cargo-bins/[email protected] | |
- name: Install cargo-nextest | |
run: cargo binstall cargo-nextest | |
- name: Build and Test | |
run: | | |
cargo build --verbose | |
cargo nextest run --verbose | |
formatting: | |
name: Formatting | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Run formatter | |
run: cargo fmt --check |