Skip to content
This repository was archived by the owner on Mar 29, 2024. It is now read-only.

Commit 671725a

Browse files
authored
Upgrade Tokio and Prost (#86)
* Upgrade dependencies * Cache cargo-nextest * Run CI on master only
1 parent 1de860d commit 671725a

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@ name: CI
22

33
on:
44
push:
5+
branches: [ "master" ]
56
pull_request:
7+
branches: [ "master" ]
68
schedule: [cron: "0 */6 * * *"]
79

810
env:
@@ -33,7 +35,11 @@ jobs:
3335
chmod +x cfssljson
3436
sudo mv cfssl /usr/local/bin
3537
sudo mv cfssljson /usr/local/bin
36-
- run: cargo install cargo-nextest
38+
- name: Install cargo-nextest
39+
uses: baptiste0928/cargo-install@v1
40+
with:
41+
crate: cargo-nextest
42+
locked: true
3743
- run: make test
3844
shell: bash
3945

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,18 @@ default = ["tls"]
1515
tls = ["tonic/tls", "tokio/fs"]
1616

1717
[dependencies]
18-
tonic = "0.8"
18+
tonic = "0.9"
1919
prost = "0.11"
20-
tokio = "1.20"
20+
tokio = "1.27"
2121
tokio-stream = "0.1"
2222
async-trait = "0.1"
2323
futures = "0.3"
2424
thiserror = "1.0"
2525
http = "0.2"
2626

2727
[dev-dependencies]
28-
tokio = { version = "1.20", features = ["full"] }
28+
tokio = { version = "1.27", features = ["full"] }
2929
rand = "0.8"
3030

3131
[build-dependencies]
32-
tonic-build = "0.8"
32+
tonic-build = "0.9"

0 commit comments

Comments
 (0)