chore: add basic CI

This commit is contained in:
Magamedrasul Ibragimov
2022-12-27 17:27:46 +03:00
parent 4f70f16c11
commit 235105f38c

21
.github/workflows/build-test-fmt.yml vendored Normal file
View File

@@ -0,0 +1,21 @@
name: Build-Test-Fmt
on: [push, pull_request]
jobs:
build-test-fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: rustup toolchain install stable --profile minimal
- uses: Swatinem/rust-cache@v2
- name: Build
run: cargo build
- name: Test
run: cargo test
- name: Fmt
run: cargo fmt -- --check