Skip to content

Commit 612f1ec

Browse files
authored
chore: update dev dependencies (#15)
Update the dev dependencies to the newest version so that the tests pass again. This is an issue whenever there is a breaking release of `ipld-core`. On the other hand it makes sure that we won't forget to update `serde_ipld_dagcbor` and `serde_ipld_dagjson` to the latest version of `ipld-core` after a release. It also adds a CI job to make sure the checked-in Cargo.lock file is up-to-date.
1 parent c4146ec commit 612f1ec

File tree

3 files changed

+21
-19
lines changed

3 files changed

+21
-19
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,3 +77,16 @@ jobs:
7777
- name: Build
7878
# `thumbv6m-none-eabi` can't be used as Serde doesn't compile there.
7979
run: cargo build --no-default-features --features serde
80+
81+
check-lockfile:
82+
name: Make sure the lockfile is up-to-date
83+
runs-on: ubuntu-latest
84+
steps:
85+
- name: Checkout Sources
86+
uses: actions/checkout@v4
87+
88+
- name: Install Rust Toolchain
89+
uses: dtolnay/rust-toolchain@stable
90+
91+
- name: Error if checked-in lockfile is not up-to-date
92+
run: cargo build --locked

Cargo.lock

Lines changed: 6 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ serde_bytes = { version = "0.11.5", default-features = false, optional = true }
2929

3030
[dev-dependencies]
3131
serde_derive = "1.0.197"
32-
serde_ipld_dagcbor = "0.5.0"
33-
serde_ipld_dagjson = "0.1.2"
32+
serde_ipld_dagcbor = "0.6.0"
33+
serde_ipld_dagjson = "0.2.0"
3434
serde_json = "1.0.79"
3535
serde_test = "1.0.132"
3636

0 commit comments

Comments
 (0)