Skip to content

Commit

Permalink
Initial commit, with minimal gRPC server
Browse files Browse the repository at this point in the history
  • Loading branch information
ekzhang committed Feb 13, 2022
0 parents commit 6633d3e
Show file tree
Hide file tree
Showing 17 changed files with 1,178 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[*]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

[*.rs]
tab_width = 4

[*.{js,jsx,ts,tsx,html,css,svelte,proto}]
tab_width = 2
32 changes: 32 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: CI

on: [push, pull_request]

jobs:
rustfmt:
name: Rust format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
components: rustfmt

- run: cargo fmt -- --check

rust:
name: Rust lint and test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- uses: actions-rs/toolchain@v1
with:
toolchain: stable

- run: cargo clippy --all-targets -- -D warnings

- run: cargo test
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/target
.vscode/
Loading

0 comments on commit 6633d3e

Please sign in to comment.