diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 08c80c6..6f4a41b 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -4,8 +4,8 @@ updates: - package-ecosystem: github-actions directory: / schedule: - interval: daily + interval: weekly - package-ecosystem: cargo directory: / schedule: - interval: daily \ No newline at end of file + interval: weekly \ No newline at end of file diff --git a/liblrge/src/ava/builder.rs b/liblrge/src/ava/builder.rs index 674093e..3e42f27 100644 --- a/liblrge/src/ava/builder.rs +++ b/liblrge/src/ava/builder.rs @@ -14,9 +14,10 @@ pub struct Builder { impl Default for Builder { fn default() -> Self { + let tmpdir = std::env::temp_dir(); Self { num_reads: DEFAULT_AVA_NUM_READS, - tmpdir: env!("TMPDIR").into(), + tmpdir, threads: 1, seed: None, platform: Platform::default(), diff --git a/liblrge/src/twoset/builder.rs b/liblrge/src/twoset/builder.rs index 53254e2..2e0e339 100644 --- a/liblrge/src/twoset/builder.rs +++ b/liblrge/src/twoset/builder.rs @@ -16,10 +16,11 @@ pub struct Builder { impl Default for Builder { fn default() -> Self { + let tmpdir = std::env::temp_dir(); Self { target_num_reads: DEFAULT_TARGET_NUM_READS, query_num_reads: DEFAULT_QUERY_NUM_READS, - tmpdir: env!("TMPDIR").into(), + tmpdir, threads: 1, seed: None, platform: Platform::default(),