Skip to content

Commit

Permalink
deps: bump dependencies and add ci
Browse files Browse the repository at this point in the history
Signed-off-by: Nitesh Balusu <[email protected]>
  • Loading branch information
niteshbalusu11 committed Dec 16, 2023
1 parent 84e0a1f commit b6e7704
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 5 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Rust CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
check_format:
name: Check Rust Format
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: rustfmt
override: true
- name: Check formatting
uses: actions-rs/cargo@v1
with:
command: fmt
args: -- --check

build:
name: Build on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v3
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
override: true
- name: Build
uses: actions-rs/cargo@v1
with:
command: build --release
4 changes: 4 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"editor.defaultFormatter": "rust-lang.rust-analyzer",
"editor.formatOnSave": true
}
10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ tonic-openssl = { version = "0.2" }
hyper = "0.14"
hyper-openssl = "0.9"
prost = "0.10"
tokio = { version = "1", features = ["full"] }
tokio-stream = { version = "0.1", features = ["net"] }
openssl = "0.10"
tower = "0.4"
pretty_env_logger = "0.4.0"
tokio = { version = "1.35", features = ["macros"] }
tokio-stream = { version = "0.1.14", features = ["net"] }
openssl = "0.10.16"
tower = "0.4.13"
pretty_env_logger = "0.5.0"
hex = "0.4.3"

[build-dependencies]
Expand Down

0 comments on commit b6e7704

Please sign in to comment.