From daa758c1724b1ffa635447fa7e483f7ca1701074 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mos=C3=A8=20Giordano?= Date: Wed, 3 Apr 2024 14:40:40 +0200 Subject: [PATCH] [Sources] Explicit conversion to work around breaking change in ProgressMeter (#373) * [Sources] Explicit conversion to work around breaking change in ProgressMeter This was broken by . * [CI] Do not run tests on nightly They're irremediably broken, no one is going to fix it, no point it keeping running tests bound to fail. --- .github/workflows/ci.yml | 6 +++--- src/Sources.jl | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 54405c0c..e507f2b5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -58,9 +58,9 @@ jobs: squashfs: true julia-version: "1.10" - - runner: privileged - squashfs: true - julia-version: "nightly" + # - runner: privileged + # squashfs: true + # julia-version: "nightly" # Add a job that uses the unprivileged builder with unpacked shards - runner: unprivileged diff --git a/src/Sources.jl b/src/Sources.jl index ba1ea202..1609f9b6 100644 --- a/src/Sources.jl +++ b/src/Sources.jl @@ -189,10 +189,10 @@ end function transfer_progress(progress::Ptr{GitTransferProgress}, payloads::Dict) p = payloads[:transfer_progress] progress = unsafe_load(progress) - p.n = progress.total_objects + p.n = Int(progress.total_objects) if progress.total_deltas != 0 p.desc = "Resolving Deltas: " - p.n = progress.total_deltas + p.n = Int(progress.total_deltas) update!(p, Int(max(1, progress.indexed_deltas))) else update!(p, Int(max(1, progress.received_objects)))