Add basic CI

This commit is contained in:
Nick Krichevsky 2022-10-28 00:04:59 -04:00
parent 7eb35d58e7
commit 58ebeb5f3e

29
.github/workflows/push.yml vendored Normal file
View file

@ -0,0 +1,29 @@
on: [push]
name: Push
jobs:
build_and_test:
name: Rust project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Unit tests
uses: actions-rs/cargo@v1
with:
command: test
args: --release
- name: Clippy
uses: actions-rs/cargo@v1
with:
command: clippy
- name: Check Build
uses: actions-rs/cargo@v1
with:
command: build
args: --bins --release