1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-12-22 14:48:45 +02:00
Commit Graph

2 Commits

Author SHA1 Message Date
Martin Geisler
17a04070ed Don’t automatically install recommended packages (#2923)
Co-authored-by: Michael Kerscher <kerscher@google.com>
2025-10-01 20:33:48 +00:00
Martin Geisler
11f2831933 Optimize apt update calls (#2916)
This introduces a new local GitHub action for installing Debian
packages. I noticed that it often takes several minutes to install a few
small packages, and a large part of that time is spent updating the man
page database:

    2025-09-20T11:39:25.3001853Z Setting up yapf3 (0.33.0-1) ...
2025-09-20T11:39:25.3045329Z Processing triggers for libc-bin
(2.39-0ubuntu8.5) ...
2025-09-20T11:39:25.4420933Z Processing triggers for man-db
(2.12.0-4build2) ...
2025-09-20T11:41:42.8522570Z Processing triggers for install-info
(7.1-3build2) ...

Excluding the documentation files should make the man-db run much
faster. Compare these two runs:

*
[Before](https://github.com/google/comprehensive-rust/actions/runs/17879390708/job/50845084995):
2m 41s.
*
[After](https://github.com/google/comprehensive-rust/actions/runs/17880418155/job/50847334471):
11s.
2025-09-22 09:33:42 +02:00