This commit is contained in:
Mihai Dinculescu
2022-10-18 21:57:52 +01:00
parent 0db9847030
commit a46e9860a3
8 changed files with 100 additions and 3 deletions

30
.github/workflows/ci.yml vendored Normal file
View File

@@ -0,0 +1,30 @@
name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
checks:
name: Rust checks
runs-on: windows-2022
steps:
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- uses: davidB/rust-cargo-make@v1
- uses: actions/checkout@v2
- name: Run format
run: cargo make format
- name: Run check
run: cargo make check
- name: Run clippy
run: cargo make clippy
- name: Run test
run: cargo make test