Skip to content

add gitHub actions workflow for build and test #1

add gitHub actions workflow for build and test

add gitHub actions workflow for build and test #1

Workflow file for this run

name: Build and Test
on:
push:
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
- name: Build
run: cargo build --release
- name: Test
run: cargo test