Skip to content

Commit dfaf3af

Browse files
committed
2 parents 882d398 + 68a546f commit dfaf3af

14 files changed

+1630
-466
lines changed

.github/readme.png

1.48 MB
Loading

.github/workflows/ci.yml

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
11+
jobs:
12+
test:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v1
16+
- uses: dtolnay/rust-toolchain@master
17+
with:
18+
toolchain: stable
19+
20+
- name: Install clippy
21+
run: rustup component add clippy
22+
23+
- name: Install rustfmt
24+
run: rustup component add rustfmt
25+
26+
- name: Run clippy for native
27+
run: cargo clippy --all --all-targets -- -D warnings
28+
29+
- name: Run fmt
30+
run: cargo fmt -- --check
31+
32+
- name: Run tests
33+
run: cargo test --all --all-targets -- --nocapture

0 commit comments

Comments
 (0)