Skip to content

Commit

Permalink
Add an upgrade check to CI (#519)
Browse files Browse the repository at this point in the history
  • Loading branch information
rkuris authored Feb 7, 2024
1 parent c563088 commit 5e8bfb6
Show file tree
Hide file tree
Showing 7 changed files with 57 additions and 52 deletions.
9 changes: 5 additions & 4 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@

version: 2
updates:
- package-ecosystem: cargo
- package-ecosystem: "cargo"
versioning-strategy: "increase"
directory: "/"
schedule:
interval: daily
interval: "daily"
time: "05:00"
timezone: America/Los_Angeles
timezone: "America/Los_Angeles"
open-pull-requests-limit: 10
allow:
- dependency-type: all
- dependency-type: "all"
6 changes: 5 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
# We can do this now because we use specific verison and update with Dependabot
# We can do this now because we use specific version and update with Dependabot
# but if we make the deps any less specifc, we'll have to fix
key: ${{ runner.os }}-deps-${{ hashFiles('**/Cargo.toml') }}-${{ hashFiles('**/*.rs') }}
# start from the previous set of cached dependencies
Expand Down Expand Up @@ -101,6 +101,10 @@ jobs:
run: cargo fmt -- --check
- name: Clippy
run: cargo clippy --tests --examples --benches --all-features -- -D warnings
- name: Cargo Edit
run: cargo install cargo-edit
- name: Cargo upgrade
run: cargo upgrade --locked

test:
needs: build
Expand Down
28 changes: 14 additions & 14 deletions firewood/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,25 +17,25 @@ readme = "../README.md"

[dependencies]
aquamarine = "0.5.0"
async-trait = "0.1.57"
bytemuck = { version = "1.13.1", features = ["derive"] }
async-trait = "0.1.77"
bytemuck = { version = "1.14.2", features = ["derive"] }
enum-as-inner = "0.6.0"
growth-ring = { version = "0.0.4", path = "../growth-ring" }
libaio = {version = "0.0.4", path = "../libaio" }
futures = "0.3.24"
futures = "0.3.30"
hex = "0.4.3"
lru = "0.12.0"
lru = "0.12.2"
metered = "0.9.0"
nix = {version = "0.27.1", features = ["fs", "uio"]}
parking_lot = "0.12.1"
serde = { version = "1.0", features = ["derive"] }
sha3 = "0.10.2"
thiserror = "1.0.38"
tokio = { version = "1.21.1", features = ["rt", "sync", "macros", "rt-multi-thread"] }
typed-builder = "0.18.0"
sha3 = "0.10.8"
thiserror = "1.0.56"
tokio = { version = "1.36.0", features = ["rt", "sync", "macros", "rt-multi-thread"] }
typed-builder = "0.18.1"
bincode = "1.3.3"
bitflags = { version = "2.4.1", features = ["bytemuck"] }
env_logger = { version = "0.11.0", optional = true }
bitflags = { version = "2.4.2", features = ["bytemuck"] }
env_logger = { version = "0.11.1", optional = true }
log = { version = "0.4.20", optional = true }

[features]
Expand All @@ -46,10 +46,10 @@ criterion = {version = "0.5.1", features = ["async_tokio"]}
keccak-hasher = "0.15.3"
rand = "0.8.5"
triehash = "0.8.4"
assert_cmd = "2.0.7"
predicates = "3.0.1"
clap = { version = "4.3.1", features = ['derive'] }
test-case = "3.1.0"
assert_cmd = "2.0.13"
predicates = "3.1.0"
clap = { version = "4.4.18", features = ['derive'] }
test-case = "3.3.1"
pprof = { version = "0.13.0", features = ["flamegraph"] }

[[bench]]
Expand Down
16 changes: 8 additions & 8 deletions fwdctl/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ edition = "2021"

[dependencies]
firewood = { version = "0.0.4", path = "../firewood" }
clap = { version = "4.0.29", features = ["cargo", "derive"] }
anyhow = "1.0.66"
env_logger = "0.11.0"
log = "0.4.17"
tokio = { version = "1.33.0", features = ["full"] }
futures-util = "0.3.29"
clap = { version = "4.4.18", features = ["cargo", "derive"] }
anyhow = "1.0.79"
env_logger = "0.11.1"
log = "0.4.20"
tokio = { version = "1.36.0", features = ["full"] }
futures-util = "0.3.30"

[dev-dependencies]
assert_cmd = "2.0.7"
predicates = "3.0.1"
assert_cmd = "2.0.13"
predicates = "3.1.0"
serial_test = "3.0.0"

[lints.rust]
Expand Down
22 changes: 11 additions & 11 deletions growth-ring/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,24 +9,24 @@ description = "Simple and modular write-ahead-logging implementation."
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
lru = "0.12.0"
lru = "0.12.2"
scan_fmt = "0.2.6"
regex = "1.6.0"
async-trait = "0.1.57"
futures = "0.3.24"
regex = "1.10.3"
async-trait = "0.1.77"
futures = "0.3.30"
nix = {version = "0.27.1", features = ["fs", "uio"]}
libc = "0.2.133"
bytemuck = {version = "1.13.1", features = ["derive"]}
thiserror = "1.0.40"
tokio = { version = "1.28.1", features = ["fs", "io-util", "sync"] }
libc = "0.2.153"
bytemuck = {version = "1.14.2", features = ["derive"]}
thiserror = "1.0.56"
tokio = { version = "1.36.0", features = ["fs", "io-util", "sync"] }
crc32fast = "1.3.2"

[dev-dependencies]
hex = "0.4.3"
rand = "0.8.5"
indexmap = "2.2.1"
tokio = { version = "1.28.1", features = ["tokio-macros", "rt", "macros"] }
test-case = "3.1.0"
indexmap = "2.2.2"
tokio = { version = "1.36.0", features = ["tokio-macros", "rt", "macros"] }
test-case = "3.3.1"

[lib]
name = "growthring"
Expand Down
22 changes: 11 additions & 11 deletions grpc-testtool/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,21 @@ bench = false

[dependencies]
firewood = { version = "0.0.4", path = "../firewood" }
prost = "0.12.0"
thiserror = "1.0.47"
tokio = { version = "1.32.0", features = ["sync", "rt-multi-thread"] }
tonic = { version = "0.10.0", features = ["tls"] }
tracing = { version = "0.1.16" }
clap = { version = "4.4.11", features = ["derive"] }
prost = "0.12.3"
thiserror = "1.0.56"
tokio = { version = "1.36.0", features = ["sync", "rt-multi-thread"] }
tonic = { version = "0.10.2", features = ["tls"] }
tracing = { version = "0.1.40" }
clap = { version = "4.4.18", features = ["derive"] }
tempdir = "0.3.7"
log = "0.4.20"
env_logger = "0.11.0"
chrono = "0.4.31"
serde_json = "1.0.108"
serde = { version = "1.0.193", features = ["derive"] }
env_logger = "0.11.1"
chrono = "0.4.33"
serde_json = "1.0.113"
serde = { version = "1.0.196", features = ["derive"] }

[build-dependencies]
tonic-build = "0.10.0"
tonic-build = "0.10.2"

[lints.rust]
unsafe_code = "deny"
Expand Down
6 changes: 3 additions & 3 deletions libaio/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ description = "Straightforward Linux AIO using Futures/async/await."
emulated-failure = []

[dependencies]
libc = "0.2.133"
libc = "0.2.153"
parking_lot = "0.12.1"
crossbeam-channel = "0.5.6"
crossbeam-channel = "0.5.11"

[dev-dependencies]
futures = "0.3.24"
futures = "0.3.30"

[lib]
name = "aiofut"
Expand Down

0 comments on commit 5e8bfb6

Please sign in to comment.