From a89b5ee8571ca6221da977cd86f74727091bfe92 Mon Sep 17 00:00:00 2001 From: alxndrsn Date: Thu, 30 Oct 2025 18:27:11 +0000 Subject: [PATCH 1/3] This one weird trick speeds up every build! Closes #531 Related: * https://github.com/actions/runner/issues/4030 * https://github.com/actions/runner-images/issues/10977 --- .github/workflows/ci.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 497f90ed1..0be089546 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -148,6 +148,10 @@ jobs: browser: webkit steps: + # Prepare for playwright install. + - if: ${{ matrix.target == 'Web' }} + run: sudo debconf-set man-db/auto-update false && sudo rm /var/lib/man-db/auto-update + - uses: 'actions/checkout@v4' - uses: 'volta-cli/action@v4' @@ -208,6 +212,10 @@ jobs: browser: webkit steps: + # Prepare for playwright install. + - if: ${{ matrix.target == 'Web' }} + run: sudo debconf-set man-db/auto-update false && sudo rm /var/lib/man-db/auto-update + - uses: 'actions/checkout@v4' - uses: 'volta-cli/action@v4' @@ -268,6 +276,10 @@ jobs: browser: webkit steps: + # Prepare for playwright install. + - if: ${{ matrix.target == 'Web' }} + run: sudo debconf-set man-db/auto-update false && sudo rm /var/lib/man-db/auto-update + - uses: 'actions/checkout@v4' - uses: 'volta-cli/action@v4' @@ -328,6 +340,10 @@ jobs: browser: webkit steps: + # Prepare for playwright install. + - if: ${{ matrix.target == 'Web' }} + run: sudo debconf-set man-db/auto-update false && sudo rm /var/lib/man-db/auto-update + - uses: 'actions/checkout@v4' - uses: 'volta-cli/action@v4' @@ -433,6 +449,10 @@ jobs: browser: webkit steps: + # Prepare for playwright install. + - if: ${{ matrix.target == 'Web' }} + run: sudo debconf-set man-db/auto-update false && sudo rm /var/lib/man-db/auto-update + - uses: 'actions/checkout@v4' - uses: 'volta-cli/action@v4' From 96484e89a90c852a9a6e1d1a24401dd2c5ef7eca Mon Sep 17 00:00:00 2001 From: alxndrsn Date: Thu, 30 Oct 2025 18:35:03 +0000 Subject: [PATCH 2/3] try the other way (no debconf-set available) --- .github/workflows/ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0be089546..ae096ceac 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -150,7 +150,7 @@ jobs: steps: # Prepare for playwright install. - if: ${{ matrix.target == 'Web' }} - run: sudo debconf-set man-db/auto-update false && sudo rm /var/lib/man-db/auto-update + run: sudo bash -c 'echo "set man-db/auto-update false" | debconf-communicate; dpkg-reconfigure man-db' - uses: 'actions/checkout@v4' @@ -214,7 +214,7 @@ jobs: steps: # Prepare for playwright install. - if: ${{ matrix.target == 'Web' }} - run: sudo debconf-set man-db/auto-update false && sudo rm /var/lib/man-db/auto-update + run: sudo bash -c 'echo "set man-db/auto-update false" | debconf-communicate; dpkg-reconfigure man-db' - uses: 'actions/checkout@v4' @@ -278,7 +278,7 @@ jobs: steps: # Prepare for playwright install. - if: ${{ matrix.target == 'Web' }} - run: sudo debconf-set man-db/auto-update false && sudo rm /var/lib/man-db/auto-update + run: sudo bash -c 'echo "set man-db/auto-update false" | debconf-communicate; dpkg-reconfigure man-db' - uses: 'actions/checkout@v4' @@ -342,7 +342,7 @@ jobs: steps: # Prepare for playwright install. - if: ${{ matrix.target == 'Web' }} - run: sudo debconf-set man-db/auto-update false && sudo rm /var/lib/man-db/auto-update + run: sudo bash -c 'echo "set man-db/auto-update false" | debconf-communicate; dpkg-reconfigure man-db' - uses: 'actions/checkout@v4' @@ -451,7 +451,7 @@ jobs: steps: # Prepare for playwright install. - if: ${{ matrix.target == 'Web' }} - run: sudo debconf-set man-db/auto-update false && sudo rm /var/lib/man-db/auto-update + run: sudo bash -c 'echo "set man-db/auto-update false" | debconf-communicate; dpkg-reconfigure man-db' - uses: 'actions/checkout@v4' From 99ceea42dc46b1856bb2011422b3c4ec1badd0e8 Mon Sep 17 00:00:00 2001 From: alxndrsn Date: Fri, 31 Oct 2025 05:49:15 +0000 Subject: [PATCH 3/3] catch failures --- .github/workflows/ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ae096ceac..a08fbf6d7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -150,7 +150,7 @@ jobs: steps: # Prepare for playwright install. - if: ${{ matrix.target == 'Web' }} - run: sudo bash -c 'echo "set man-db/auto-update false" | debconf-communicate; dpkg-reconfigure man-db' + run: sudo bash -ec 'echo "set man-db/auto-update false" | debconf-communicate; dpkg-reconfigure man-db' - uses: 'actions/checkout@v4' @@ -214,7 +214,7 @@ jobs: steps: # Prepare for playwright install. - if: ${{ matrix.target == 'Web' }} - run: sudo bash -c 'echo "set man-db/auto-update false" | debconf-communicate; dpkg-reconfigure man-db' + run: sudo bash -ec 'echo "set man-db/auto-update false" | debconf-communicate; dpkg-reconfigure man-db' - uses: 'actions/checkout@v4' @@ -278,7 +278,7 @@ jobs: steps: # Prepare for playwright install. - if: ${{ matrix.target == 'Web' }} - run: sudo bash -c 'echo "set man-db/auto-update false" | debconf-communicate; dpkg-reconfigure man-db' + run: sudo bash -ec 'echo "set man-db/auto-update false" | debconf-communicate; dpkg-reconfigure man-db' - uses: 'actions/checkout@v4' @@ -342,7 +342,7 @@ jobs: steps: # Prepare for playwright install. - if: ${{ matrix.target == 'Web' }} - run: sudo bash -c 'echo "set man-db/auto-update false" | debconf-communicate; dpkg-reconfigure man-db' + run: sudo bash -ec 'echo "set man-db/auto-update false" | debconf-communicate; dpkg-reconfigure man-db' - uses: 'actions/checkout@v4' @@ -451,7 +451,7 @@ jobs: steps: # Prepare for playwright install. - if: ${{ matrix.target == 'Web' }} - run: sudo bash -c 'echo "set man-db/auto-update false" | debconf-communicate; dpkg-reconfigure man-db' + run: sudo bash -ec 'echo "set man-db/auto-update false" | debconf-communicate; dpkg-reconfigure man-db' - uses: 'actions/checkout@v4'