Skip to content

Replace meval with evalexpr, add tests and CI (0.1.12) #1

Replace meval with evalexpr, add tests and CI (0.1.12)

Replace meval with evalexpr, add tests and CI (0.1.12) #1

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
test:
name: Build & Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install protobuf compiler
run: sudo apt-get update && sudo apt-get install -y protobuf-compiler
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- name: Cache cargo build
uses: Swatinem/rust-cache@v2
- name: Check formatting
run: cargo fmt --all -- --check
- name: Build
run: cargo build --locked --verbose
- name: Test
run: cargo test --locked --verbose