diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7a2b2785..99090fb5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: name: Sanity Checks runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v4.1.2 - name: Install dependencies run: sudo apt-get update && sudo apt-get install -y libudev-dev @@ -55,7 +55,7 @@ jobs: needs: sanity-check runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v4.1.2 - name: Install dependencies run: sudo apt-get update && sudo apt-get install -y libudev-dev @@ -68,7 +68,7 @@ jobs: override: true - name: Cache dependencies - uses: actions/cache@v4 + uses: actions/cache@v4.0.2 with: path: | ~/.cargo/registry @@ -98,7 +98,7 @@ jobs: needs: unit-tests runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v4.1.2 - name: Install dependencies run: sudo apt-get update && sudo apt-get install -y libudev-dev @@ -111,7 +111,7 @@ jobs: override: true - name: Cache dependencies - uses: actions/cache@v4 + uses: actions/cache@v4.0.2 with: path: | ~/.cargo/registry @@ -144,7 +144,7 @@ jobs: needs: [unit-tests, e2e-tests] runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v4.1.2 - name: Install dependencies run: sudo apt-get update && sudo apt-get install -y libudev-dev @@ -167,7 +167,7 @@ jobs: working-directory: . - name: Upload coverage to Codecov - uses: codecov/codecov-action@v4 + uses: codecov/codecov-action@v4.1.0 with: directory: ./coverage/ fail_ci_if_error: true diff --git a/Cargo.toml b/Cargo.toml index 83fc5cb9..c5ca27f7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,29 +11,29 @@ clap = { version = "4.5.32", features = ["derive", "cargo"] } lazy_static = "1.4.0" serde = { version = "1.0.219", features = ["derive"] } serde_yaml = "0.9.34" -solana-clap-utils = "2.2.3" -solana-cli-config = "2.2.3" -solana-client = "2.2.3" +solana-clap-utils = "2.3.1" +solana-cli-config = "2.3.1" +solana-client = "2.3.1" solana-logger = "2.3.1" -solana-remote-wallet = { version = "2.2.3", optional = true } -solana-sdk = "2.2.1" +solana-remote-wallet = { version = "2.3.1", optional = true } +solana-sdk = "2.3.1" tokio = { version = "1.44.0", features = ["full"] } thiserror = "2.0.12" -ssh2 = "0.9.5" +ssh2 = "0.9.6" tabular = "0.2.0" prettytable-rs = "0.10" ratatui = "0.29.0" -crossterm = "0.28.1" +crossterm = "0.28.2" chrono = "0.4.40" -tui-logger = "0.17.0" -anyhow = "1.0.97" -futures = "0.3.31" +tui-logger = "0.17.1" +anyhow = "1.0.81" +futures = "0.3.30" rand = "0.9.0" colored = "3.0.0" url = "2.5.4" -serde_json = "1.0.140" +serde_json = "1.0.114" dirs = "6.0.0" -webpki = "0.22.4" +webpki = "0.22.5" [dev-dependencies] assert_cmd = "2.0.16" @@ -41,7 +41,7 @@ predicates = "3.1.3" tempfile = "3.18.0" serial_test = "3.2.0" mockito = "1.7.0" -criterion = "0.5.1" +criterion = "0.5.2" [features] default = [] diff --git a/src/main.rs b/src/main.rs index 98cc1007..c985fda6 100644 --- a/src/main.rs +++ b/src/main.rs @@ -36,6 +36,8 @@ impl std::fmt::Display for WebPkiError { impl std::error::Error for WebPkiError {} +// The following implementations are needed because webpki::Error doesn't implement +// std::error::Error trait by default in the webpki crate impl std::fmt::Debug for webpki::Error { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { write!(f, "{:?}", self)