Skip to content

Commit

Permalink
chore: add nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksuss committed Nov 13, 2024
1 parent da85bc0 commit 0380bc4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/scheduled_lints.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
on:
schedule:
- cron: '0 9 * * 1-5'
pull_request: # Remove after testing

name: Scheduled checks
jobs:
Expand Down
3 changes: 1 addition & 2 deletions engine-tests/src/utils/one_inch/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@ pub static LIMIT_ORDER_PROTOCOL_PATH: LazyLock<PathBuf> =
LazyLock::new(|| download_and_compile_solidity_sources("limit-order-protocol"));

fn download_and_compile_solidity_sources(repo_name: &str) -> PathBuf {
let process_id = std::process::id(); // Temporary solution to check
let sources_dir = Path::new(env!("CARGO_MANIFEST_DIR"))
.join(format!("target/{process_id}"))
.join("target")
.join(repo_name);
// Contracts not already present, so download and compile them (but only once, even
// if multiple tests running in parallel saw `contracts_dir` does not exist).
Expand Down

0 comments on commit 0380bc4

Please sign in to comment.