Skip to content

Commit

Permalink
chore: update dev dependencies (#15)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
vmx authored Mar 27, 2024
1 parent c4146ec commit 612f1ec
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 19 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,16 @@ jobs:
- name: Build
# `thumbv6m-none-eabi` can't be used as Serde doesn't compile there.
run: cargo build --no-default-features --features serde

check-lockfile:
name: Make sure the lockfile is up-to-date
runs-on: ubuntu-latest
steps:
- name: Checkout Sources
uses: actions/checkout@v4

- name: Install Rust Toolchain
uses: dtolnay/rust-toolchain@stable

- name: Error if checked-in lockfile is not up-to-date
run: cargo build --locked
23 changes: 6 additions & 17 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ serde_bytes = { version = "0.11.5", default-features = false, optional = true }

[dev-dependencies]
serde_derive = "1.0.197"
serde_ipld_dagcbor = "0.5.0"
serde_ipld_dagjson = "0.1.2"
serde_ipld_dagcbor = "0.6.0"
serde_ipld_dagjson = "0.2.0"
serde_json = "1.0.79"
serde_test = "1.0.132"

Expand Down

0 comments on commit 612f1ec

Please sign in to comment.