From 53a5c2b97f3696cbf4b102100155081dd2a92226 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dirk=20M=C3=BCller?= Date: Fri, 28 Jul 2023 09:35:48 +0200 Subject: [PATCH] also cache index.crates.io This is used by the rust tests --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 64efc224..4187f719 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -301,7 +301,7 @@ jobs: - name: Add /etc/host entries run: | # precache dns entries to avoid timeouts in the runs later - for host in updates.suse.com registry.suse.com registry.opensuse.org; do + for host in index.crates.io updates.suse.com registry.suse.com registry.opensuse.org; do echo -e "$(getent ahostsv4 $host | grep STREAM | cut -d' ' -f1 | head -n 1)\t$host" | sudo tee -a /etc/hosts done