[Server] Implement gRPC handlers #13
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: 'Rust Check' | |
| on: [pull_request] | |
| permissions: | |
| contents: read | |
| jobs: | |
| Rust-Check: | |
| runs-on: ubuntu-latest | |
| env: | |
| RUSTFLAGS: -D warnings | |
| container: rust:latest | |
| steps: | |
| - name: 'Checkout Repository' | |
| uses: actions/checkout@v4 | |
| - name: 'Check Format' | |
| run: cargo fmt --all -- --check | |
| # - name: 'Check Clippy' | |
| # run: cargo clippy --all-targets --all-features -- -D warnings | |
| - name: 'Ensure Generated Code is Updated' | |
| run: cargo build && \ | |
| if [ $(git status --porcelain | wc -l) -eq "0" ]; then | |
| echo "Generated Code is Updated" | |
| else | |
| echo "Generated Code is Outdated" | |
| exit 1 | |
| fi |