Skip to content

Commit

Permalink
Add support for Cargo.lock version 4
Browse files Browse the repository at this point in the history
  • Loading branch information
ifiokjr committed Dec 20, 2024
1 parent 7d60bdf commit 1fddb41
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 8 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,22 @@ jobs:
- test_verify_from_image
- test_games_preset
- test_agave_2_1
rust_toolchain:
- stable
- nightly
steps:
- uses: actions/checkout@v4

- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ matrix.rust_toolchain }}

- name: Cache dependencies
uses: Swatinem/rust-cache@v2

- name: Build
run: cargo build

- name: Run ${{ matrix.test_name }}
- name: Run ${{ matrix.test_name }} ${{ matrix.rust_toolchain }}
run: cargo test ${{ matrix.test_name }} -- --nocapture
46 changes: 40 additions & 6 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ license = "MIT"
[dependencies]
anyhow = "1.0.79"
borsh = { version = "1.2.1", features = ["derive"] }
cargo-lock = "9.0.0" # missing in workspace
cargo-lock = "10.0.0" # missing in workspace
cargo_toml = "0.15.3" # missing in workspace
clap = "2.33.1" # version of v1.18 does not support derive
crossbeam-channel = "0.5.11"
Expand Down

0 comments on commit 1fddb41

Please sign in to comment.