Skip to content

feat: adding test workflow and fixing build #8

feat: adding test workflow and fixing build

feat: adding test workflow and fixing build #8

Workflow file for this run

name: Rust
on:
push:
branches:
- main
pull_request:
branches:
- "**"
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: "recursive"
fetch-depth: 1
- name: Setup Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
- name: Build
working-directory: program
run: cargo build --verbose
- name: Run tests
working-directory: program
run: cargo test --verbose