Skip to content

Commit daa758c

Browse files
authored
[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 <timholy/ProgressMeter.jl#304>. * [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.
1 parent 0b0372d commit daa758c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ jobs:
5858
squashfs: true
5959
julia-version: "1.10"
6060

61-
- runner: privileged
62-
squashfs: true
63-
julia-version: "nightly"
61+
# - runner: privileged
62+
# squashfs: true
63+
# julia-version: "nightly"
6464

6565
# Add a job that uses the unprivileged builder with unpacked shards
6666
- runner: unprivileged

src/Sources.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,10 +189,10 @@ end
189189
function transfer_progress(progress::Ptr{GitTransferProgress}, payloads::Dict)
190190
p = payloads[:transfer_progress]
191191
progress = unsafe_load(progress)
192-
p.n = progress.total_objects
192+
p.n = Int(progress.total_objects)
193193
if progress.total_deltas != 0
194194
p.desc = "Resolving Deltas: "
195-
p.n = progress.total_deltas
195+
p.n = Int(progress.total_deltas)
196196
update!(p, Int(max(1, progress.indexed_deltas)))
197197
else
198198
update!(p, Int(max(1, progress.received_objects)))

0 commit comments

Comments
 (0)