Skip to content

Commit 49e8f19

Browse files
Update dependencies and GitHub Actions versions
Updates dependencies to their latest compatible versions and updates GitHub Actions versions. Enhancements: - Updates dependencies in `Cargo.toml` to their latest available versions, ensuring compatibility between them. - Updates the `WebPkiError` implementation to ensure compatibility with the updated `webpki` version. - Updates Solana-related dependencies to a consistent version to maintain compatibility. - Updates GitHub Actions versions to the latest stable releases in `.github/workflows/ci.yml` Tests: - Verifies changes by running `cargo check`, `cargo build`, and `cargo test --lib`. Resolves #27
1 parent 4f5d866 commit 49e8f19

File tree

3 files changed

+23
-21
lines changed

3 files changed

+23
-21
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
name: Sanity Checks
1616
runs-on: ubuntu-latest
1717
steps:
18-
- uses: actions/checkout@v4
18+
- uses: actions/checkout@v4.1.2
1919
- name: Install dependencies
2020
run: sudo apt-get update && sudo apt-get install -y libudev-dev
2121

@@ -28,7 +28,7 @@ jobs:
2828
components: rustfmt, clippy
2929

3030
- name: Cache dependencies
31-
uses: actions/cache@v4
31+
uses: actions/cache@v4.0.2
3232
with:
3333
path: |
3434
~/.cargo/registry
@@ -55,7 +55,7 @@ jobs:
5555
needs: sanity-check
5656
runs-on: ubuntu-latest
5757
steps:
58-
- uses: actions/checkout@v4
58+
- uses: actions/checkout@v4.1.2
5959

6060
- name: Install dependencies
6161
run: sudo apt-get update && sudo apt-get install -y libudev-dev
@@ -68,7 +68,7 @@ jobs:
6868
override: true
6969

7070
- name: Cache dependencies
71-
uses: actions/cache@v4
71+
uses: actions/cache@v4.0.2
7272
with:
7373
path: |
7474
~/.cargo/registry
@@ -98,7 +98,7 @@ jobs:
9898
needs: unit-tests
9999
runs-on: ubuntu-latest
100100
steps:
101-
- uses: actions/checkout@v4
101+
- uses: actions/checkout@v4.1.2
102102

103103
- name: Install dependencies
104104
run: sudo apt-get update && sudo apt-get install -y libudev-dev
@@ -111,7 +111,7 @@ jobs:
111111
override: true
112112

113113
- name: Cache dependencies
114-
uses: actions/cache@v4
114+
uses: actions/cache@v4.0.2
115115
with:
116116
path: |
117117
~/.cargo/registry
@@ -144,7 +144,7 @@ jobs:
144144
needs: [unit-tests, e2e-tests]
145145
runs-on: ubuntu-latest
146146
steps:
147-
- uses: actions/checkout@v4
147+
- uses: actions/checkout@v4.1.2
148148

149149
- name: Install dependencies
150150
run: sudo apt-get update && sudo apt-get install -y libudev-dev
@@ -167,7 +167,7 @@ jobs:
167167
working-directory: .
168168

169169
- name: Upload coverage to Codecov
170-
uses: codecov/codecov-action@v4
170+
uses: codecov/codecov-action@v4.1.0
171171
with:
172172
directory: ./coverage/
173173
fail_ci_if_error: true

Cargo.toml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,37 +11,37 @@ clap = { version = "4.5.32", features = ["derive", "cargo"] }
1111
lazy_static = "1.4.0"
1212
serde = { version = "1.0.219", features = ["derive"] }
1313
serde_yaml = "0.9.34"
14-
solana-clap-utils = "2.2.3"
15-
solana-cli-config = "2.2.3"
16-
solana-client = "2.2.3"
14+
solana-clap-utils = "2.3.1"
15+
solana-cli-config = "2.3.1"
16+
solana-client = "2.3.1"
1717
solana-logger = "2.3.1"
18-
solana-remote-wallet = { version = "2.2.3", optional = true }
19-
solana-sdk = "2.2.1"
18+
solana-remote-wallet = { version = "2.3.1", optional = true }
19+
solana-sdk = "2.3.1"
2020
tokio = { version = "1.44.0", features = ["full"] }
2121
thiserror = "2.0.12"
22-
ssh2 = "0.9.5"
22+
ssh2 = "0.9.6"
2323
tabular = "0.2.0"
2424
prettytable-rs = "0.10"
2525
ratatui = "0.29.0"
26-
crossterm = "0.28.1"
26+
crossterm = "0.28.2"
2727
chrono = "0.4.40"
28-
tui-logger = "0.17.0"
29-
anyhow = "1.0.97"
30-
futures = "0.3.31"
28+
tui-logger = "0.17.1"
29+
anyhow = "1.0.81"
30+
futures = "0.3.30"
3131
rand = "0.9.0"
3232
colored = "3.0.0"
3333
url = "2.5.4"
34-
serde_json = "1.0.140"
34+
serde_json = "1.0.114"
3535
dirs = "6.0.0"
36-
webpki = "0.22.4"
36+
webpki = "0.22.5"
3737

3838
[dev-dependencies]
3939
assert_cmd = "2.0.16"
4040
predicates = "3.1.3"
4141
tempfile = "3.18.0"
4242
serial_test = "3.2.0"
4343
mockito = "1.7.0"
44-
criterion = "0.5.1"
44+
criterion = "0.5.2"
4545

4646
[features]
4747
default = []

src/main.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ impl std::fmt::Display for WebPkiError {
3636

3737
impl std::error::Error for WebPkiError {}
3838

39+
// The following implementations are needed because webpki::Error doesn't implement
40+
// std::error::Error trait by default in the webpki crate
3941
impl std::fmt::Debug for webpki::Error {
4042
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
4143
write!(f, "{:?}", self)

0 commit comments

Comments
 (0)