Skip to content

Commit

Permalink
[CI] Enable caching for unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lubkoll committed Jul 17, 2024
1 parent 7ae691c commit f1440f8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,14 @@ jobs:
- name: Install Rust
if: env.GIT_DIFF
uses: dtolnay/rust-toolchain@stable
- name: Restore dependencies
if: env.GIT_DIFF
uses: actions/cache@v4
with:
path: |
~/.cargo
key: ${{ runner.os }}-cargo-$${{ hashFiles('Cargo.toml') }}
restore-keys: ${{ runner.os }}-cargo
- name: Install just via cargo
if: env.GIT_DIFF
run: cargo install just
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@ use crate::state::{
};
use crate::{LstAdapterError, LST_ADAPTER_OSMOSIS_ID, LST_ADAPTER_OSMOSIS_VERSION};
#[cfg(not(target_arch = "wasm32"))]
use abstract_app::abstract_interface;
#[cfg(not(target_arch = "wasm32"))]
use abstract_app::abstract_interface::AbstractInterfaceError;
use abstract_app::{abstract_interface, AppContract};
use abstract_app::AppContract;
use abstract_sdk::{AbstractResponse, IbcInterface, TransferInterface};
#[cfg(not(target_arch = "wasm32"))]
use abstract_std::manager::ModuleInstallConfig;
Expand Down

0 comments on commit f1440f8

Please sign in to comment.