Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion azure-pipelines/pre-release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
# Run on a schedule
# Run on both a schedule and weekly
trigger:
branches:
include:
- main
schedules:
- cron: "0 0 * * 0"
displayName: Weekly build
branches:
include:
- main
always: true
pr: none

resources:
Expand Down
2 changes: 1 addition & 1 deletion crates/pet-python-utils/src/cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ impl CacheImpl {
Entry::Occupied(lock) => lock.get().clone(),
Entry::Vacant(lock) => {
let cache = Box::new(CacheEntryImpl::create(cache_directory.clone(), executable))
as Box<(dyn CacheEntry + 'static)>;
as Box<dyn CacheEntry + 'static>;
lock.insert(Arc::new(Mutex::new(cache))).clone()
}
}
Expand Down
Loading