Skip to content

Commit 6633d3e

Browse files
committed
Initial commit, with minimal gRPC server
0 parents  commit 6633d3e

File tree

17 files changed

+1178
-0
lines changed

17 files changed

+1178
-0
lines changed

.editorconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[*]
2+
end_of_line = lf
3+
insert_final_newline = true
4+
trim_trailing_whitespace = true
5+
6+
[*.rs]
7+
tab_width = 4
8+
9+
[*.{js,jsx,ts,tsx,html,css,svelte,proto}]
10+
tab_width = 2

.github/workflows/ci.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: CI
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
rustfmt:
7+
name: Rust format
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v2
11+
12+
- uses: actions-rs/toolchain@v1
13+
with:
14+
profile: minimal
15+
toolchain: nightly
16+
components: rustfmt
17+
18+
- run: cargo fmt -- --check
19+
20+
rust:
21+
name: Rust lint and test
22+
runs-on: ubuntu-latest
23+
steps:
24+
- uses: actions/checkout@v2
25+
26+
- uses: actions-rs/toolchain@v1
27+
with:
28+
toolchain: stable
29+
30+
- run: cargo clippy --all-targets -- -D warnings
31+
32+
- run: cargo test

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/target
2+
.vscode/

0 commit comments

Comments
 (0)