Skip to content

Commit bfbbd1d

Browse files
committed
cargo fmt && cargo clippy
1 parent 14d3826 commit bfbbd1d

File tree

14 files changed

+2409
-1497
lines changed

14 files changed

+2409
-1497
lines changed

.github/workflows/rust.yml

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Rust
2+
3+
on:
4+
[push, pull_request]
5+
6+
env:
7+
CARGO_TERM_COLOR: always
8+
9+
jobs:
10+
build:
11+
strategy:
12+
matrix:
13+
host_os:
14+
- ubuntu-latest
15+
- macos-latest
16+
# - windows-latest
17+
18+
runs-on: ${{ matrix.host_os }}
19+
20+
steps:
21+
- uses: actions/checkout@v3
22+
- name: check
23+
run: cargo check
24+
- name: rustfmt
25+
run: |
26+
rustc --version
27+
cargo fmt --all -- --check
28+
- name: clippy
29+
run: cargo clippy -- -D warnings
30+
- name: Build
31+
run: cargo build --verbose --all-features --tests --examples
32+
- name: Run tests
33+
run: cargo test --verbose

.gitignore

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
.vscode/
2+
.VSCodeCounter/
3+
build/
4+
tmp/
5+
Cargo.lock
6+
target/

0 commit comments

Comments
 (0)