Skip to content

Commit 615bec8

Browse files
authored
Disable man-db auto-update in GHAs (#51)
The dpkg man-db trigger is excessively slow on GHA runners, see e.g.: - actions/runner-images#10977 - actions/runner#4030 We disable it so it does not fire at the end of an `apt-get install`. This can easily shave a minute or two off the execution time. GUS-W-19995078
1 parent c6a8940 commit 615bec8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,12 @@ jobs:
4141
steps:
4242
- name: Checkout
4343
uses: actions/checkout@v4
44+
# The dpkg man-db trigger is excessively slow on GHA runners, see e.g.:
45+
# https://github.com/actions/runner-images/issues/10977
46+
# https://github.com/actions/runner/issues/4030
47+
# We disable it here so it does not fire at the end of the following apt-get install
48+
- name: Disable man-db auto-update
49+
run: sudo rm -f /var/lib/man-db/auto-update
4450
- name: Install musl-tools
4551
run: sudo apt-get install musl-tools -y --no-install-recommends
4652
- name: Update Rust toolchain

0 commit comments

Comments
 (0)